aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-07-25 15:45:29 -0300
committerKevin O'Connor <kevin@koconnor.net>2012-08-01 20:46:27 -0400
commite39b9381687c9ddd3f1eb08f9135c574c099ee06 (patch)
treedcb9696686cfce3b4e6681a69feef8fab2be1f21 /src/config.h
parentc0207888874c016b77c359688a221a58b58dd3a4 (diff)
downloadseabios-hppa-e39b9381687c9ddd3f1eb08f9135c574c099ee06.zip
seabios-hppa-e39b9381687c9ddd3f1eb08f9135c574c099ee06.tar.gz
seabios-hppa-e39b9381687c9ddd3f1eb08f9135c574c099ee06.tar.bz2
report real I/O APIC ID (0) on MADT and MP-table (v3)
When resetting an I/O APIC, its ID is set to 0, and SeaBIOS doesn't change it, so report it correctly on the ACPI MADT table and MP-table. Some hardware may require the BIOS to initialize I/O APIC ID to an unique value, but SeaBIOS doesn't do that. This patch at least makes the tables reflect reality. Changes v2 -> v3: - Fix MP-table too, not just ACPI MADT table Changes v1 -> v2: - Cosmetic: whitespace change (removed extra newline) - New patch description Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 3a70867..0d4066d 100644
--- a/src/config.h
+++ b/src/config.h
@@ -52,6 +52,7 @@
#define BUILD_PCIMEM64_END 0x10000000000ULL
#define BUILD_IOAPIC_ADDR 0xfec00000
+#define BUILD_IOAPIC_ID 0
#define BUILD_HPET_ADDRESS 0xfed00000
#define BUILD_APIC_ADDR 0xfee00000