Specifications

AMD Geode™ GeodeROM Functional Specification 161
System Services
32087C
12.1.14.2 Subfunction 20h - Get System Memory Map
Description:
Reports a memory map of the memory installed in the system. Data is in the form of table entries.
Passed:
Returns:
Related Functions:
None.
Parameter Description
EAX E820h
EDX 534D4150h (‘SMAP’)
EBX Continuation value, or 00000000h the first time
ECX Size of buffer for result, in bytes (must be >= 20 bytes)
ES:DI Buffer for result
Parameter Description
EAX 534D4150h (‘SMAP’)
ES:DI Buffer is filled
EBX Continuation value (=00000000h if no more entries)
ECX Actual length of data written to buffer (maximum of 20):
Offset Size Description
00h QWORD Base Address
08h QWORD Length, in Bytes
0Ch DWORD Type of Address Range:
01h = Memory Available for OS
02h = Reserved/Not Available (e.g., for System ROMs, etc.)
03h = ACPI Reclaim Memory (not used by GeodeROM firmware)
04h = ACPI NVS Memory (not used by GeodeROM firmware)