Contiguous Memory Mapping Functions
The following functions are available to access eRTOS contiguous memory allocation services:
- RtAllocateContiguousMemory allocates a physically contiguous memory address range and maps that memory into the process' virtual address space.
- RtAllocateContiguousMemorySpecifyCache allocates a physically contiguous memory address range and maps that memory into the process' virtual address space. This function can specify the type of caching allowed for the requested memory.
- RtFreeContiguousMemory frees a previously allocated physically contiguous memory region.
- RtGetPhysicalAddress returns the physical address for the virtual address of a previously allocated physically contiguous memory region.
Programming Considerations
In eRTOS, a virtual address is identity mapped to the physical address.
Related topics: