aboutsummaryrefslogtreecommitdiff
path: root/src/memmap.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-01-17 20:07:09 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-01-17 20:07:09 -0500
commitdf2c19ab31b5b9e52f30452d82f0bdd9b89db111 (patch)
tree2779c468f3411412b0df0381c9494904c08616ba /src/memmap.h
parentf5d025a7e139c865f322c8565008187a553ec1a6 (diff)
downloadseabios-hppa-df2c19ab31b5b9e52f30452d82f0bdd9b89db111.zip
seabios-hppa-df2c19ab31b5b9e52f30452d82f0bdd9b89db111.tar.gz
seabios-hppa-df2c19ab31b5b9e52f30452d82f0bdd9b89db111.tar.bz2
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.
Diffstat (limited to 'src/memmap.h')
-rw-r--r--src/memmap.h5
1 files changed, 3 insertions, 2 deletions
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