aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/memory.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-02 20:43:18 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-02 20:43:18 -0700
commit6e2f4b3d0a6061ea240de478878274898407960c (patch)
treed5fcefae034ef65b4a489decfce7964dadd7be24 /com32/gplinclude/memory.h
parentc8162edd3e880e8f0d84f26ffbf5316dee472ef0 (diff)
downloadsyslinux.git-6e2f4b3d0a6061ea240de478878274898407960c.tar.gz
syslinux.git-6e2f4b3d0a6061ea240de478878274898407960c.tar.xz
syslinux.git-6e2f4b3d0a6061ea240de478878274898407960c.zip
gllib: Add e801 and 88 memory detection
Add Bios calls INT 0x15, AX = 0xE801 and INT 0x15, AH = 0x88 to detect the memory. These can be used as a fallback when e820 is not available. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude/memory.h')
-rw-r--r--com32/gplinclude/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/gplinclude/memory.h b/com32/gplinclude/memory.h
index b5232f53..c9f386d4 100644
--- a/com32/gplinclude/memory.h
+++ b/com32/gplinclude/memory.h
@@ -32,4 +32,6 @@ const char * const e820_types[5];
void get_type(int, char*, int);
void detect_memory_e820(struct e820entry *desc, int size_map, int *size_found);
+int detect_memory_e801(int*, int*);
+int detect_memory_88(int*);
#endif