Physical Memory Mapping Functions
The following functions are available to access RTX64 memory mapping services:
- RtMapMemory maps a physical memory address range into the process' virtual address space.
- RtUnmapMemory removes a previously mapped physical memory object from the process' virtual address space.
Programming Considerations
General Programming Considerations
There are no restrictions or protections on the mapped memory region. The mapping will provide precisely the base address and length specified, if successful. You should take care not to map in and modify Windows address space as this may lead to corruption of either operating system.
Win32 Environment Programming Considerations
Accesses beyond the address range allocated in the mapping will result in an exception.
Example (RTX64 Memory Mapping Calls)
See the RTX64 Memory Mapping Calls Programming Example in the RTX64 Example Reference.
Related topics: