aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiang, Yunhong <yjiang5@intel.com>2012-01-17 16:26:15 +0800
committerJiang, Yunhong <yunhong.jiang@intel.com>2012-01-18 05:14:44 +0800
commiteb21efafc629759705de263d5b3da18ceb9a23b2 (patch)
tree09147888fa36622b5c546832312137acec451cec
parent930baf66aeb08c8c72fb5ab3194014d41bb18f94 (diff)
downloadqemu-pc-bios-eb21efafc629759705de263d5b3da18ceb9a23b2.tar.gz
Change the MP table to support >16 IRQ number
Now the MP table include 16 entry, increase to the number of IOAPIC pin number. All goldfish devices should be covered by this. Change-Id: I05c1176b5396d8a88c3aedf07b1e0d7c6578a914 Signed-off-by: Jiang, Yunhong <yjiang5@intel.com>
-rw-r--r--bochs/bios/rombios32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bochs/bios/rombios32.c b/bochs/bios/rombios32.c
index f861f81..f8de96d 100644
--- a/bochs/bios/rombios32.c
+++ b/bochs/bios/rombios32.c
@@ -1181,7 +1181,7 @@ static void mptable_init(void)
putle32(&q, 0xfec00000); /* I/O APIC addr */
/* irqs */
- for(i = 0; i < 16; i++) {
+ for(i = 0; i < 32; i++) {
#ifdef BX_QEMU
/* One entry per ioapic input. Input 2 is covered by
irq0->inti2 override (i == 0). irq 2 is unused */