aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-09-25 11:34:06 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-09-25 11:34:06 -0400
commit7f55fd306854cc305cce6f8d8738a14e4ed01999 (patch)
treed4ba42ac013214c6fb42c9cebc68d20c251423d4 /src/config.h
parent025cabd2caa41d567d06a7c43f910621b99e64a4 (diff)
downloadseabios-hppa-7f55fd306854cc305cce6f8d8738a14e4ed01999.zip
seabios-hppa-7f55fd306854cc305cce6f8d8738a14e4ed01999.tar.gz
seabios-hppa-7f55fd306854cc305cce6f8d8738a14e4ed01999.tar.bz2
Move the 32bit init code to high memory at runtime.
Add support for moving the 32bit init code out of the e/f-segments and into temporary ram. Update the relocations in the code so that it can live at its new address. This frees up memory for other uses in the e/f segments.
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 4572ee5..f9bf3b8 100644
--- a/src/config.h
+++ b/src/config.h
@@ -26,6 +26,8 @@
#define CONFIG_THREADS 1
// Allow hardware init to run in parallel with optionrom execution
#define CONFIG_THREAD_OPTIONROMS 0
+// Support relocating the one time initialization code to high memory
+#define CONFIG_RELOCATE_INIT 1
// Support int13 disk/floppy drive functions
#define CONFIG_DRIVES 1
// Support floppy drive access