aboutsummaryrefslogtreecommitdiff
path: root/src/memmap.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-11-08 13:05:27 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-11-08 13:05:27 -0500
commitd995b3df0189f931325f1630a6e9d17e8e5319db (patch)
tree3c81b80d22912ccdbccbc8eb7ee610e6ad2ef362 /src/memmap.h
parent4a14d75dbec58c5e4e6c4ac178ca13f3b948fa22 (diff)
downloadseabios-hppa-d995b3df0189f931325f1630a6e9d17e8e5319db.zip
seabios-hppa-d995b3df0189f931325f1630a6e9d17e8e5319db.tar.gz
seabios-hppa-d995b3df0189f931325f1630a6e9d17e8e5319db.tar.bz2
Update e820 map in place instead of copying it.
Allocate the e820 map space in the 0xf0000 segment and do all updates in place. This reduces the need to access external memory during post. Also, move e820 pointer and count from ebda to variables in 0xf0000.
Diffstat (limited to 'src/memmap.h')
-rw-r--r--src/memmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/memmap.h b/src/memmap.h
index b5e1d0d..8a6bd79 100644
--- a/src/memmap.h
+++ b/src/memmap.h
@@ -20,6 +20,10 @@ void add_e820(u64 start, u64 size, u32 type);
void memmap_setup();
void memmap_finalize();
+// e820 map storage (defined in system.c)
+extern struct e820entry *e820_list;
+extern int e820_count;
+
// Space for exported bios tables.
extern u32 bios_table_cur_addr, bios_table_end_addr;