ahci: handle blocking threads
This commit is contained in:
parent
2b7b3ae08e
commit
eeee9c1638
3 changed files with 12 additions and 5 deletions
|
|
@ -168,6 +168,9 @@ void kmain()
|
|||
uint16_t tss = gdt_insert_tss(ptr);
|
||||
ltr(tss);
|
||||
|
||||
pic_init();
|
||||
apic_init();
|
||||
|
||||
/* init the application processors */
|
||||
struct limine_smp_response *smp_resp = smp_req.response;
|
||||
proc_init(smp_resp->cpu_count);
|
||||
|
|
@ -188,9 +191,6 @@ void kmain()
|
|||
|
||||
devfs_init();
|
||||
|
||||
pic_init();
|
||||
apic_init();
|
||||
|
||||
sem_t *init_sem = sem_create(0);
|
||||
|
||||
for (unsigned i = 0; i < smp_resp->cpu_count; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue