34/*! @class IODeviceMemory : public IOMemoryDescriptor
35 @abstract An IOMemoryDescriptor used for device physical memory ranges.
36 @discussion The IODeviceMemory class is a simple subclass of IOMemoryDescriptor that uses its methods to describe a single range of physical memory on a device. IODeviceMemory objects are usually looked up with IOService or IOPCIDevice accessors, and are created by memory mapped bus families. IODeviceMemory implements only some factory methods in addition to the methods of IOMemoryDescriptor. */
56 @abstract Constructs an OSArray of IODeviceMemory instances, each describing one physical range, and a tag value.
57 @discussion This method creates IODeviceMemory instances for each physical range passed in a IODeviceMemory::InitElement array. Each element consists of a physical address, length and tag value for the IODeviceMemory. The instances are returned as a created OSArray.
58 @param list An array of IODeviceMemory::InitElement structures.
59 @param count The number of elements in the list.
60 @result A created OSArray of IODeviceMemory objects, to be released by the caller, or zero on failure. */
67 @abstract Constructs an IODeviceMemory instance, describing one physical range.
68 @discussion This method creates IODeviceMemory instance for one physical range passed as a physical address and length. It just calls IOMemoryDescriptor::withPhysicalAddress.
69 @param address The physical address of the first byte in the memory.
78 @abstract Constructs an IODeviceMemory instance, describing a subset of an existing IODeviceMemory range.
79 @discussion This method creates IODeviceMemory instance for a subset of an existing IODeviceMemory range, passed as a physical address offset and length. It just calls IOMemoryDescriptor::withSubRange.
80 @param of The parent IODeviceMemory of which a subrange is to be used for the new descriptor, which will be retained by the subrange IODeviceMemory.
81 @param offset A byte offset into the parent's memory.