Home |
RTTarget-32 Programming Manual Function RTReserveVirtualAddress Function RTReleaseVirtualAddress Function RTAllocPhysPageAligned Function RTGetProcessPhysMemHeap Function RTGetPhysAddressEx System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTGetPhysAddressExRTGetPhysAddressEx translates a virtual address into a physical address. It also supports mappings into the physical address space > 4G. unsigned __int64 RTGetPhysAddressEx(const void * VirtAddr); Parameter VirtAddr specifies the virtual address to translate. The function returns the corresponding physical address. Warning: Memory blocks which are contiguous in the virtual address space are not guaranteed to be contiguous in the physical address space. If the buffer pointed to by VirtAddr is larger than 1 byte, then it might span a page boundary, making contiguous access to the buffer impossible in the physical address space. If you need data structures to be contiguous in the physical and virtual address space, use RTGetProcessPhysMemHeap or RTAllocPhysPageAligned to allocate them.
|