aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-08-03 20:45:32 -0400
committerKevin O'Connor <kevin@koconnor.net>2011-08-03 20:45:32 -0400
commit32f03876f4528cc74fde2624e2b5a1c756929453 (patch)
treeed5650c25d4470212c4adbb2470842a301a1c9ea /src/config.h
parent8b9137d29561e958ba557ba31e73da71d3b03249 (diff)
downloadseabios-hppa-32f03876f4528cc74fde2624e2b5a1c756929453.zip
seabios-hppa-32f03876f4528cc74fde2624e2b5a1c756929453.tar.gz
seabios-hppa-32f03876f4528cc74fde2624e2b5a1c756929453.tar.bz2
Allow allocation of SMBIOS table in f-segment if it is small.
If the SMBIOS is small (less than 600 bytes) allow it to be allocated in the f-segment. This works around a bug in JunOS - it crashes on SMBIOS tables located in high memory.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index f2fce89..d182b13 100644
--- a/src/config.h
+++ b/src/config.h
@@ -51,6 +51,8 @@
#define BUILD_SMM_ADDR 0xa8000
#define BUILD_SMM_SIZE 0x8000
+#define BUILD_MAX_SMBIOS_FSEG 600
+
// Important real-mode segments
#define SEG_IVT 0x0000
#define SEG_BDA 0x0040