diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-11-08 13:05:27 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-11-08 13:05:27 -0500 |
commit | d995b3df0189f931325f1630a6e9d17e8e5319db (patch) | |
tree | 3c81b80d22912ccdbccbc8eb7ee610e6ad2ef362 /src/memmap.h | |
parent | 4a14d75dbec58c5e4e6c4ac178ca13f3b948fa22 (diff) | |
download | seabios-d995b3df0189f931325f1630a6e9d17e8e5319db.tar.gz |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/memmap.h b/src/memmap.h index b5e1d0d1..8a6bd799 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; |