|
@@ -1307,7 +1307,8 @@ void disable_IO_APIC(void)
|
|
entry.dest_mode = 0; /* Physical */
|
|
entry.dest_mode = 0; /* Physical */
|
|
entry.delivery_mode = dest_ExtINT; /* ExtInt */
|
|
entry.delivery_mode = dest_ExtINT; /* ExtInt */
|
|
entry.vector = 0;
|
|
entry.vector = 0;
|
|
- entry.dest.physical.physical_dest = 0;
|
|
|
|
|
|
+ entry.dest.physical.physical_dest =
|
|
|
|
+ GET_APIC_ID(apic_read(APIC_ID));
|
|
|
|
|
|
/*
|
|
/*
|
|
* Add it to the IO-APIC irq-routing table:
|
|
* Add it to the IO-APIC irq-routing table:
|