Function

IOMappedRead8

Read one byte from the desired "Physical" IOSpace address.

Declaration

UInt8 IOMappedRead8(IOPhysicalAddress address);

Parameters

address

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

Return Value

Data contained at that location

Discussion

Read one byte 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.