IOMappedRead16
Read two bytes from the desired "Physical" IOSpace address.
Declaration
UInt16 IOMappedRead16(IOPhysicalAddress address);Parameters
- address:
The desired address, as returned by IOMemoryDescriptor::getPhysicalSegment.
Return Value
Data contained at that location
Discussion
Read two 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.