Share via


MainMemoryEndAddress (Windows Embedded CE 6.0)

1/5/2010

This global variable specifies the next available address following the first available contiguous block of memory.

Syntax

DWORD MainMemoryEndAddress; 

Parameters

None.

Return Value

None.

Remarks

Setting this global variable is optional.

Setting MainMemoryEndAddress offers you the first chance to adjust memory after booting. This variable extends the RAM section defined in the Config.bib file.

Note

Memory must be physically contiguous with the RAM location from the Config.bib file.

Setting MainMemoryEndAddress within the function OEMInit allows you to alert the system that extended RAM is available. You must set MainMemoryEndAddress before returning from OEMInit.

You can identify whether extended RAM is available by implementing the OEMGetExtensionDRAM or pNKEnumExtensionDRAM functions so the kernel can call these functions.

Requirements

Header Developer Implemented
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Optional OAL Variables
OEMGetExtensionDRAM
OEMInit
pNKEnumExtensionDRAM