Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 FillRAM Command Running a Program on the Target Compiling and Linking with On Time RTOS-32 |
FillRAM CommandThe FillRAM command instructs RTLoc to remap unused RAM memory. The syntax is: FillRAM = RegionName ParametersRegionNameThe name of a physical or virtual region to which all RAM pages remapped from other regions should be appended. You can use this command to create larger regions of consecutive RAM if your RAM address space is fragmented. For example, an AT class computer has RAM from 0 to 640k and some more starting at 1MB. If not all RAM in the region below 640k is used, the unused pages of memory can be appended to the extended memory region above 1MB. Examples:Region LowMem 4k 636k RAM Region HighMem 1M 3M RAM FillRAM HighMem The following example creates a region consisting of remapped pages only: Region LowMem 4k 636k RAM Region HighMem 1M 3M RAM Region Remapped 16M 0 RAM FillRAM Remapped or alternatively: Virtual Remapped 16M FillRAM Remapped Remapped RAM can only be used for the program's stack and heap. FillRAM requires paging (see section PageTable for details). Only RAM from Regions with Assign access is remapped through FillRAM.
|