pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Jul 2013 14:47:51 +0000 (16:47 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 30 Jul 2013 00:33:32 +0000 (19:33 -0500)
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id: 1375109277-25561-2-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/i386/pc.c
include/hw/i386/ioapic.h

index 2a8756321b5d8ba44e9aa4ca6f37202a45a1b186..b0b98a8f847df63948a71b7307a65a5401c74617 100644 (file)
@@ -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 {
index 86e63dac74eaea29faf1d7b2447806d63b275f8a..6245388c5d2ca552d31f9b5958d0e54f8c3f3e1b 100644 (file)
@@ -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);