MainMemoryEndAddress Customization (Windows Embedded CE 6.0)
1/5/2010
The MainMemoryEndAddress kernel variable is the only mechanism that allows you to extend the size of the contiguous RAM section specified in the Config.bib file.
During the boot process, the kernel sets the value of MainMemoryEndAddress to the value stored in the table of contents ulRAMEnd. During OEMInit, you can detect the existence of additional contiguous RAM and reset the MainMemoryEndAddress value to indicate that there is more contiguous RAM available.
The value of ulRAMEnd is based on the RAM section of the Config.bib file and what effect other flags have on Romimage.exe. For example, the AUTOSIZE flag can use more or less memory than specified by the RAMIMAGE section and therefore affect the RAM size.