OEMGetExtensionDRAM (Windows Embedded CE 6.0)
1/5/2010
This function gets information about extension dynamic RAM (DRAM), if present on the device.
Syntax
BOOL OEMGetExtensionDRAM(
LPDWORD lpMemStart,
LPDWORD lpMemLen
);
Parameters
- lpMemStart
[out] Page-aligned starting cached address of the extension DRAM, if present.
- lpMemLen
[out] Length of the extension DRAM, if present. The length is a multiple of the size of a memory page.
Return Value
This function returns TRUE if extension DRAM is present; otherwise, this function returns FALSE.
Remarks
The kernel calls this function after OEMInit to determine if additional memory is present. Memory can be noncontiguous from the RAM section defined in the Config.bib file.
OEMGetExtensionDRAM limits the OS to two noncontiguous regions of RAM.
If the function pointer pNKEnumExtensionDRAM is set, OEMGetExtensionDRAM is not called.
This function always returns cached addresses. If an un-cached address is returned the device may fail to boot, or it may run more slowly.
Requirements
Header | nkintr.h |
Library | OEMMain.lib or OEMMain_StaticKITL.lib |
Windows Embedded CE | Windows CE 2.10 and later |
See Also
Reference
Required OAL Functions
pNKEnumExtensionDRAM
MainMemoryEndAddress
OEMInit
OEMEnumExtensionDRAM