aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-08-01 11:45:37 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-08-01 11:45:37 -0400
commit0bf9270aa47777992914096d476c4aef99e30865 (patch)
treef2318aba7b724632088310ad3beb14a1ca450053 /src/misc.c
parent69656657953bf9a65ef55a20c1626023ffefb41d (diff)
downloadseabios-hppa-0bf9270aa47777992914096d476c4aef99e30865.zip
seabios-hppa-0bf9270aa47777992914096d476c4aef99e30865.tar.gz
seabios-hppa-0bf9270aa47777992914096d476c4aef99e30865.tar.bz2
Add Post Memory Manager (PMM) support.
Complete the initial implementation of PMM. Default new PMM code to be enabled. Move malloc code from memmap.c to pmm.c. Define new malloc zones for PMM (ZoneTmpLow and ZoneTmpHigh). Change default READ/WRITE_SEG macros to use 32bit pointers (the 16bit PMM code use "big real" mode and requires 32bit accesses). Allow pmm allocations to occur during bcv executions also. Add low-memory clearing before boot. Also, align the default f-seg memory.
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 956e545..167dfe5 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -15,7 +15,7 @@ u32 RamSize VAR16_32;
// Amount of continuous ram >4Gig
u64 RamSizeOver4G;
// Space for bios tables built an run-time.
-char BiosTableSpace[CONFIG_MAX_BIOSTABLE] VAR16_32;
+char BiosTableSpace[CONFIG_MAX_BIOSTABLE] __aligned(MALLOC_MIN_ALIGN) VAR16_32;
/****************************************************************