aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-09-20 19:40:28 -0400
committerKevin O'Connor <kevin@koconnor.net>2011-09-20 19:40:28 -0400
commit7859edaaba68183d57eba3a166c1a06b187aeef6 (patch)
treee331b3e767168ae5d3507685853a604674e28d87 /src/config.h
parent8a161c9f5a99f3d3580eb6fc746e6b4ed28dd2b8 (diff)
downloadseabios-hppa-7859edaaba68183d57eba3a166c1a06b187aeef6.zip
seabios-hppa-7859edaaba68183d57eba3a166c1a06b187aeef6.tar.gz
seabios-hppa-7859edaaba68183d57eba3a166c1a06b187aeef6.tar.bz2
Minor - move ACPI_HPET_ADDRESS definition to config.h.
Move ACPI_HPET_ADDRESS to BUILD_HPET_ADDRESS in config.h so that it is listed with similar hardcoded addresses. Also, organize the BUILD_*_ADDRESS definitions in config.h. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/config.h b/src/config.h
index d182b13..b0187a4 100644
--- a/src/config.h
+++ b/src/config.h
@@ -22,6 +22,8 @@
#define CONFIG_MAX_HIGHTABLE (64*1024)
// Largest supported externaly facing drive id
#define CONFIG_MAX_EXTDRIVE 16
+// Number of bytes the smbios may be and still live in the f-segment
+#define BUILD_MAX_SMBIOS_FSEG 600
#define CONFIG_MODEL_ID 0xFC
#define CONFIG_SUBMODEL_ID 0x00
@@ -38,20 +40,17 @@
#define BUILD_BIOS_SIZE 0x10000
// 32KB for shadow ram copying (works around emulator deficiencies)
#define BUILD_BIOS_TMP_ADDR 0x30000
+#define BUILD_SMM_INIT_ADDR 0x38000
+#define BUILD_SMM_ADDR 0xa8000
+#define BUILD_SMM_SIZE 0x8000
#define BUILD_MAX_HIGHMEM 0xe0000000
#define BUILD_PCIMEM_START 0xe0000000
-#define BUILD_PCIMEM_SIZE (BUILD_PCIMEM_END - BUILD_PCIMEM_START)
#define BUILD_PCIMEM_END 0xfec00000 /* IOAPIC is mapped at */
-#define BUILD_APIC_ADDR 0xfee00000
#define BUILD_IOAPIC_ADDR 0xfec00000
-
-#define BUILD_SMM_INIT_ADDR 0x38000
-#define BUILD_SMM_ADDR 0xa8000
-#define BUILD_SMM_SIZE 0x8000
-
-#define BUILD_MAX_SMBIOS_FSEG 600
+#define BUILD_HPET_ADDRESS 0xfed00000
+#define BUILD_APIC_ADDR 0xfee00000
// Important real-mode segments
#define SEG_IVT 0x0000