System Map Retrieval - Compaq EN Series Technical Reference Manual

Net pc and small form factor models
Hide thumbs Also See for EN Series:
Table of Contents

Advertisement

Chapter 8 BIOS ROM
8.4.5

SYSTEM MAP RETRIEVAL

The BIOS function INT 15, AX=E820h will return base memory and ISA/PCI memory
contiguous with base memory as normal memory ranges. This real mode call will indicate
chipset-defined address holes that are not in use, motherboard memory-mapped devices, and all
occurrences of the system BIOS as reserved. Standard PC address ranges will not be reported.
Input:
EBX
ECX
EDX
ES:DI
Offset Size Description
00h
QWORD base address
08h
QWORD length in bytes
10h
DWORD type of address range
01h memory, available to OS
02h reserved, not available (e.g. system ROM, memory-mapped device)
other: not defined
Output:
If CF=0 (success)
EAX
EBX
ECX
ES:DI
If CF=1 (failure)
AH = Error Code (86h)
In order to determine the entire memory map, multiple calls must be made.
For example, the first call would be:
Input:
EDX = 534D4150h
EBX = 00h
ECX = 14h
ES:DI = some buffer to store information.
Output:
EAX = 534D4150h
EBX = 01h
ECX = 14h
ES:DI = 00 00 00 00 00 00 00 00 00 FC 09 00 00 00 00 00 01 00 00 00
(indicates 0-639k is available to the OS)
Consecutive calls would continue until EBX returns with 0, indicating that the memory map is
complete.
8-14
Compaq Deskpro EN Series of Personal Computers
Net PC and Small Form Factor Models
= continuation value or 00000000h to start at beginning of map
= number of bytes to copy (>=20)
= 534D4150h ('SMAP')
= buffer for result (see below)
= 534D4150h ('SMAP')
= next offset from which to copy or 00000000h if finished
= actual length returned in bytes
buffer filled
First Edition – June 1998

Advertisement

Table of Contents
loading

This manual is also suitable for:

Deskpro en series

Table of Contents