Physical Memory Mapping Functions
The following functions are available to access wRTOS 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
The mapped memory region is not restricted or protected. If successful, the mapping will provide precisely the base address and length specified. However, you should take care not to map in and modify Windows address space, as this may lead to corruption of either operating system.
Windows Environment Programming Considerations
Accesses beyond the address range allocated in the mapping will result
in an exception.
Related topics: