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/memmap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/memmap.h') diff --git a/src/memmap.h b/src/memmap.h index 8a6bd79..8338c43 100644 --- a/src/memmap.h +++ b/src/memmap.h @@ -21,10 +21,11 @@ void memmap_setup(); void memmap_finalize(); // e820 map storage (defined in system.c) -extern struct e820entry *e820_list; +extern struct e820entry e820_list[]; extern int e820_count; -// Space for exported bios tables. +// Space for exported bios tables (defined in misc.c) extern u32 bios_table_cur_addr, bios_table_end_addr; +extern char BiosTableSpace[]; #endif // e820map.h -- cgit v1.1