Contents

IOMappedRead32

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

Declaration

UInt32 IOMappedRead32(IOPhysicalAddress address);

Parameters

  • address:

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

Return Value

Data contained at that location

Discussion

Read four 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.

See Also

Mapped Memory