From df2c19ab31b5b9e52f30452d82f0bdd9b89db111 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 17 Jan 2009 20:07:09 -0500 Subject: Reserve space for buffers in f-segment; don't allocate from freespace. Define the e820list as a regular array. Define a buffer for run-time built bios tables. Reserving the space in advance should help prevent run-time errors when space becomes tight. --- src/misc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/misc.c') diff --git a/src/misc.c b/src/misc.c index 0c5f608..ec15262 100644 --- a/src/misc.c +++ b/src/misc.c @@ -14,6 +14,9 @@ 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; /**************************************************************** -- cgit v1.1