aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-07-25 13:48:27 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-07-25 13:48:27 -0400
commit2929c352b73e35a32d90d0fdd7fd723591a408de (patch)
treeebb2980e71648f5d54f4dbe1f2ed3557ba7ee1d2 /src/misc.c
parent35284962d181ed99f38d8201472d65e3aed96e19 (diff)
downloadseabios-hppa-2929c352b73e35a32d90d0fdd7fd723591a408de.zip
seabios-hppa-2929c352b73e35a32d90d0fdd7fd723591a408de.tar.gz
seabios-hppa-2929c352b73e35a32d90d0fdd7fd723591a408de.tar.bz2
Add malloc_high/fseg() and rework bios table creation to use them.
Add malloc like functions for memory management instead of open-coding memory reservation in all callers. Add ability for unused high ram to be returned for general purpose use. Break up acpi table creation into multiple functions. Also, move smbios tables into high ram (instead of f-segment).
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/misc.c b/src/misc.c
index bece61e..956e545 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1,6 +1,6 @@
// Code for misc 16bit handlers and variables.
//
-// Copyright (C) 2008 Kevin O'Connor <kevin@koconnor.net>
+// Copyright (C) 2008,2009 Kevin O'Connor <kevin@koconnor.net>
// Copyright (C) 2002 MandrakeSoft S.A.
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
@@ -15,7 +15,6 @@ u32 RamSize VAR16_32;
// Amount of continuous ram >4Gig
u64 RamSizeOver4G;
// Space for bios tables built an run-time.
-u32 bios_table_cur_addr, bios_table_end_addr;
char BiosTableSpace[CONFIG_MAX_BIOSTABLE] VAR16_32;