aboutsummaryrefslogtreecommitdiff
path: root/src/biosvar.h
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/biosvar.h
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/biosvar.h')
-rw-r--r--src/biosvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index 821aa35..0d175ef 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -1,6 +1,6 @@
// Variable layouts of bios.
//
-// Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net>
+// Copyright (C) 2008,2009 Kevin O'Connor <kevin@koconnor.net>
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
#ifndef __BIOSVAR_H
@@ -240,6 +240,8 @@ struct extended_bios_data_area_s {
DIV_ROUND_UP(sizeof(struct extended_bios_data_area_s), 1024)
#define EBDA_SEGMENT_START \
FLATPTR_TO_SEG((640 - EBDA_SIZE_START) * 1024)
+#define EBDA_SEGMENT_MINIMUM \
+ FLATPTR_TO_SEG((640 - 256) * 1024)
// Accessor functions
static inline u16 get_ebda_seg() {