将wait_queue中的结点改为kmalloc创建

This commit is contained in:
fslongjin
2022-05-30 18:25:50 +08:00
parent 85707bd8cc
commit b828622ea6
3 changed files with 21 additions and 18 deletions

View File

@ -207,9 +207,9 @@ void irq_init()
init_8259A();
#else
memset((void *)interrupt_desc, 0, sizeof(irq_desc_t) * IRQ_NUM);
apic_init();
memset((void *)interrupt_desc, 0, sizeof(irq_desc_t) * IRQ_NUM);
#endif
}