From: Laszlo Ersek <lersek@redhat.com>
To: qemu-devel@nongnu.org, mst@redhat.com
Subject: [Qemu-devel] [PATCH v3 6/7] hw/i386/pc.c: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/apic.h
Date: Tue, 16 Apr 2013 02:24:13 +0200 [thread overview]
Message-ID: <1366071854-8917-7-git-send-email-lersek@redhat.com> (raw)
In-Reply-To: <1366071854-8917-1-git-send-email-lersek@redhat.com>
From: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
include/hw/i386/apic.h | 2 ++
hw/i386/pc.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/hw/i386/apic.h b/include/hw/i386/apic.h
index 1d48e02..edbb37f 100644
--- a/include/hw/i386/apic.h
+++ b/include/hw/i386/apic.h
@@ -26,6 +26,8 @@ void apic_designate_bsp(DeviceState *d);
/* pc.c */
DeviceState *cpu_get_current_apic(void);
+#define IO_APIC_DEFAULT_ADDRESS 0xfec00000
+
/* cpu.c */
bool cpu_is_bsp(X86CPU *cpu);
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 3c12b55..8727489 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -73,8 +73,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 {
--
1.7.1
next prev parent reply other threads:[~2013-04-16 0:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-16 0:24 [Qemu-devel] [PATCH v3 0/7] publish etc/acpi/APIC in fw_cfg Laszlo Ersek
2013-04-16 0:24 ` [Qemu-devel] [PATCH v3 1/7] refer to FWCfgState explicitly Laszlo Ersek
2013-04-16 0:24 ` [Qemu-devel] [PATCH v3 2/7] acpi_table_install(): fix funcparam formatting in leading comment Laszlo Ersek
2013-04-16 0:24 ` [Qemu-devel] [PATCH v3 3/7] hw/acpi: extract standard table headers as a standalone structure Laszlo Ersek
2013-04-16 0:24 ` [Qemu-devel] [PATCH v3 4/7] hw/acpi: export default ACPI headers using the type just introduced Laszlo Ersek
2013-04-16 0:24 ` [Qemu-devel] [PATCH v3 5/7] hw/acpi: export acpi_checksum() Laszlo Ersek
2013-04-16 0:24 ` Laszlo Ersek [this message]
2013-04-16 0:24 ` [Qemu-devel] [PATCH v3 7/7] hw/i386: build ACPI MADT (APIC) for fw_cfg clients Laszlo Ersek
2013-04-18 15:13 ` [Qemu-devel] [PATCH v3 0/7] publish etc/acpi/APIC in fw_cfg Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1366071854-8917-7-git-send-email-lersek@redhat.com \
--to=lersek@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).