add start_msi to pci module

This commit is contained in:
fslongjin
2022-07-21 12:53:52 +08:00
parent e7d13b5a6d
commit 20a191d149
4 changed files with 73 additions and 7 deletions

View File

@ -230,7 +230,8 @@ int irq_unregister(ul irq_num)
p->controller->uninstall(irq_num);
p->controller = NULL;
kfree(p->irq_name);
if (p->irq_name)
kfree(p->irq_name);
p->irq_name = NULL;
p->parameter = NULL;
p->flags = 0;

View File

@ -94,6 +94,10 @@ extern void (*local_apic_interrupt_table[LOCAL_APIC_IRQ_NUM])(void);
154 LINT0
155 LINT1
156 Error
157 xhci_controller_0
158 xhci_controller_1
159 xhci_controller_2
160 xhci_controller_3
200 ~ 255 MP IPI