aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-12-06 19:37:56 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-12-06 19:37:56 -0500
commita06bfb6a5b54f751eb98d2d2df75da6782f34ea5 (patch)
treed3c10fb5267db11d4065b264c89a57266149696e /src/config.h
parent9e82122e8dcb0e060e0f258e2832032f6a7b99e4 (diff)
downloadseabios-hppa-a06bfb6a5b54f751eb98d2d2df75da6782f34ea5.zip
seabios-hppa-a06bfb6a5b54f751eb98d2d2df75da6782f34ea5.tar.gz
seabios-hppa-a06bfb6a5b54f751eb98d2d2df75da6782f34ea5.tar.bz2
Execute smp detect code in place instead of copying it.
Compile the smp detect handler with the rest of the 16bit code. Implement a simple ljmpw trampoline so the main code can run in place. Restore memory afterwards to prevent memory corruption.
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index 4308342..fcfd085 100644
--- a/src/config.h
+++ b/src/config.h
@@ -87,11 +87,10 @@
// Various memory addresses used by the code.
#define BUILD_STACK_ADDR 0x7c00
-#define BUILD_CPU_COUNT_ADDR 0xf000
#define BUILD_AP_BOOT_ADDR 0x10000
#define BUILD_BIOS_ADDR 0xf0000
#define BUILD_BIOS_SIZE 0x10000
- /* 64 KB used to copy the BIOS to shadow RAM */
+// 64 KB used to copy the BIOS to shadow RAM
#define BUILD_BIOS_TMP_ADDR 0x30000
#define BUILD_PM_IO_BASE 0xb000