Compartilhar via


OEMGetExtensionDRAM (Compact 2013)

10/16/2014

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 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.

This function limits the OS to two noncontiguous regions of RAM.

If the function pointer pNKEnumExtensionDRAM is set, this function is not called.

Requirements

Header

nkintr.h

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Required OAL Functions
dwMainMemoryEndAddress
OEMInit
OEMEnumExtensionDRAM