aboutsummaryrefslogtreecommitdiffstats
path: root/src/memmap.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-06-21 11:43:32 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-06-21 11:43:32 -0400
commitb8d7a4797d06c9ff69712a3b436d2e0458ac7a51 (patch)
treed6ea60ad3f48bd89a0fc5377ac2f78e0920f73a2 /src/memmap.h
parentfe42eb2e1da67bb41509c359612d5b79fb616599 (diff)
downloadseabios-b8d7a4797d06c9ff69712a3b436d2e0458ac7a51.tar.gz
Make 0xa0000 - 0x10000 a "gap" in the e820 map.
Declaring memory between 0xa0000 - 0x10000 confuses windows, so don't do that. Add capability to remove mappings in the memory mapping code.
Diffstat (limited to 'src/memmap.h')
-rw-r--r--src/memmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/memmap.h b/src/memmap.h
index c0cdca59..b5e1d0d1 100644
--- a/src/memmap.h
+++ b/src/memmap.h
@@ -8,6 +8,7 @@
#define E820_ACPI 3
#define E820_NVS 4
#define E820_UNUSABLE 5
+#define E820_HOLE ((u32)-1) // Useful for removing entries
struct e820entry {
u64 start;