提交 3a4a4697 编写于 作者: L Laszlo Ersek 提交者: Anthony Liguori

Introduce IO_APIC_DEFAULT_ADDRESS for 0xfec00000

Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
Reviewed-by: NAnthony Liguori <aliguori@us.ibm.com>
Message-id: 1363821803-3380-10-git-send-email-lersek@redhat.com
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 dab86234
......@@ -72,6 +72,8 @@
#define FW_CFG_E820_TABLE (FW_CFG_ARCH_LOCAL + 3)
#define FW_CFG_HPET (FW_CFG_ARCH_LOCAL + 4)
#define IO_APIC_DEFAULT_ADDRESS 0xfec00000
#define E820_NR_ENTRIES 16
struct e820_entry {
......@@ -1169,7 +1171,7 @@ void ioapic_init_gsi(GSIState *gsi_state, const char *parent_name)
}
qdev_init_nofail(dev);
d = SYS_BUS_DEVICE(dev);
sysbus_mmio_map(d, 0, 0xfec00000);
sysbus_mmio_map(d, 0, IO_APIC_DEFAULT_ADDRESS);
for (i = 0; i < IOAPIC_NUM_PINS; i++) {
gsi_state->ioapic_irq[i] = qdev_get_gpio_in(dev, i);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册