aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
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/misc.c
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/misc.c')
-rw-r--r--src/misc.c3
1 files changed, 3 insertions, 0 deletions
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;
/****************************************************************