GetAddressRange
Returns the address and length of the memory buffer.
Declaration
kern_return_t GetAddressRange(IOAddressSegment *range);Parameters
- range:
An Ioaddresssegment structure that you provide. On return, this structure contains the address and length of the memory buffer.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.