aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2013-02-19 21:35:20 -0500
committerKevin O'Connor <kevin@koconnor.net>2013-02-19 21:57:24 -0500
commit6d152646612f00f5e4792b3c32f659444ab16930 (patch)
tree7aafb4b152c0ec45b742fcb6b620e1247ba44aef /src/config.h
parentf85e4bc030e38966b48e8085ba74f58b40603a46 (diff)
downloadseabios-hppa-6d152646612f00f5e4792b3c32f659444ab16930.zip
seabios-hppa-6d152646612f00f5e4792b3c32f659444ab16930.tar.gz
seabios-hppa-6d152646612f00f5e4792b3c32f659444ab16930.tar.bz2
Eliminate separate BiosTableSpace[] space for f-segment allocations.
The BiosTableSpace variable was used to ensure there was sufficient space in the f-segment for malloc_fseg() calls. However, it added 2K to the final image size to reserve that space. Update the build to determine where to put the f-segment allocations. In most cases (when code relocation is enabled) allocations can be done in the space free'd from the "init" sections and no additional space needs to be reserved in the final image. This also has the benefit of not fragmenting the f-segment allocation space. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h
index 71c0b7e..f391877 100644
--- a/src/config.h
+++ b/src/config.h
@@ -16,8 +16,6 @@
// Maximum number of map entries in the e820 map
#define CONFIG_MAX_E820 32
-// Space to reserve in f-segment for dynamic allocations
-#define CONFIG_MAX_BIOSTABLE 2048
// Space to reserve in high-memory for tables
#define CONFIG_MAX_HIGHTABLE (64*1024)
// Largest supported externaly facing drive id