From: Michael S. Tsirkin Date: Mon, 29 Jul 2013 14:47:51 +0000 (+0200) Subject: pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f5338ee30d91693f5805208e58df80f0551c3896;p=qemu.git pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h Signed-off-by: Michael S. Tsirkin Signed-off-by: Laszlo Ersek Signed-off-by: Igor Mammedov Reviewed-by: Andreas Färber Reviewed-by: Michael S. Tsirkin Reviewed-by: Andreas Färber Message-id: 1375109277-25561-2-git-send-email-imammedo@redhat.com Signed-off-by: Anthony Liguori --- diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 2a8756321b..b0b98a8f84 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -75,8 +75,6 @@ #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 { diff --git a/include/hw/i386/ioapic.h b/include/hw/i386/ioapic.h index 86e63dac74..6245388c5d 100644 --- a/include/hw/i386/ioapic.h +++ b/include/hw/i386/ioapic.h @@ -21,6 +21,7 @@ #define HW_IOAPIC_H #define IOAPIC_NUM_PINS 24 +#define IO_APIC_DEFAULT_ADDRESS 0xfec00000 void ioapic_eoi_broadcast(int vector);