diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-07-25 13:48:27 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-07-25 13:48:27 -0400 |
commit | 2929c352b73e35a32d90d0fdd7fd723591a408de (patch) | |
tree | ebb2980e71648f5d54f4dbe1f2ed3557ba7ee1d2 /src/misc.c | |
parent | 35284962d181ed99f38d8201472d65e3aed96e19 (diff) | |
download | seabios-2929c352b73e35a32d90d0fdd7fd723591a408de.tar.gz |
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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |