Skip to contentSkip to conversation

hvmloader: mp table fix

PATCH New Yang, Xiaowei 1 participant 1 message Dec 30, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hvmloader: mp table fix

The bug causes noapic PAE Windows 2k3 boot failure.

tools/firmware/hvmloader/mp_tables.c +1 -1
diff -r 3f654b88e201 tools/firmware/hvmloader/mp_tables.c
@@ -344,7 +344,7 @@
             continue; /* skip the slave PIC connection */
         mpiie = (struct mp_io_intr_entry *)p;
         mpiie->type = ENTRY_TYPE_IO_INTR;
-        mpiie->intr_type = INTR_TYPE_EXTINT;
+        mpiie->intr_type = INTR_TYPE_INT;
         mpiie->io_intr_flags = (PCI_ISA_IRQ_MASK & (1U << i)) ? 0xf : 0x0;
         mpiie->src_bus_id = BUS_ID_ISA;
         mpiie->src_bus_irq = i;

Thanks,
xiaowei