Function

IOMappedRead64

Read eight bytes from the desired "Physical" IOSpace address.

Declaration

UInt64 IOMappedRead64(IOPhysicalAddress address);

Parameters

address

The desired address, as returned by IOMemoryDescriptor::getPhysicalSegment.

Return Value

Data contained at that location

Discussion

Read eight bytes from the desired "Physical" IOSpace address. This function allows the developer to read an address returned from any memory descriptor's getPhysicalSegment routine. It can then be used by segmenting a physical page slightly to tag the physical page with its kernel space virtual address.