Home |
RTTarget-32 Programming Manual Function RTReserveVirtualAddress Function RTReleaseVirtualAddress Function RTMapPhysMemEx Function RTAllocPhysPageAligned Function RTGetProcessPhysMemHeap System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) |
Function RTMapPhysMemExFunction RTMapPhysMemEx prepares a pointer in the virtual address space through which physical memory above address 4G can be accessed: void * RTMapPhysMemEx(unsigned __int64 Physical, unsigned Bytes, int Access); ParametersPhysicalPhysical address to map. BytesSpecifies the size of the address range. AccessSpecifies the desired access rights to the virtual address range. Values RT_PG_NOACCESS, RT_PG_SYSREAD, RT_PG_SYSREADWRITE, RT_PG_USERREAD, and RT_PG_USERREADWRITE are supported. return valueA pointer in the virtual address space which maps to the requested physical memory or NULL on failure. The function requires paging. Parameter Physical must be less than 1T. If it is less than 4G, function RTMapPhysMem is called automatically. Function RTAllocPhysPageAligned
|