Constants

Memory type

E820_MEMORY_USABLENormal RAM
E820_MEMORY_RESERVEDxxx
E820_MEMORY_ACPI_RECLAIMABLEXXXX
E820_MEMORY_NVSxxx
E820_MEMORY_BADBad region

Structs

E820AddressRange

struc E820AddressRange
.BaseAddrLowLow 32 bits of Base Address
.BaseAddrHighHigh 32 Bits of Base Address
.LengthLowLow 32 Bits of Length in Bytes
.LengthHighHigh 32 Bits of Length in Bytes
.TypeAddress type of this range.  See Memory type

Functions

memory_e820_get_map

memory_e820_get_map

In

EAXFunction code
EBXContinuation
ES:DIBuffer Pointer
ECXBuffer size
EDXSignature ‘SMAP’

Out

CFCarry Flag
EAXSignature ‘SMAP’
ES:DIBuffer Pointer
ECXBuffer Size
EBXContinuation

memory_get_for_large_conf

memory_get_for_large_conf

In

AXFunction code E801h

Out

CFNon-Carry - indicates no error
AXExtended 1
BXExtended 2
CXConfigured 1
DXConfigured 2

memory_get_map

memory_get_map

In

AHFunction code 88h

Out

CFNon-Carry - indicates no error
AXNumber of contiguous KB above 1MB
struc E820AddressRange
memory_e820_get_map
memory_get_for_large_conf
memory_get_map
Close