#include <IOKit/IOMultiMemoryDescriptor.h>
IOKit/IOMultiMemoryDescriptor.h
@class IOMultiMemoryDescriptor : public IOMemoryDescriptor
@abstract The IOMultiMemoryDescriptor object describes a memory area made up of several other IOMemoryDescriptors.
@discussion The IOMultiMemoryDescriptor object represents multiple ranges of memory, specified as an ordered list of IOMemoryDescriptors. The descriptors are chained end-to-end to make up a single contiguous buffer.
classIOMultiMemoryDescriptor
: public IOMemoryDescriptor
| IOMemoryDescriptor ** | _descriptors | |
| UInt32 | _descriptorsCount | |
| bool | _descriptorsIsAllocated |
APPLE_KEXT_OVERRIDE
virtual void free()virtual protectedstatic OSPtr<IOMultiMemoryDescriptor> withDescriptors( IOMemoryDescriptor ** descriptors, UInt32 withCount, IODirection withDirection, bool asReference = false )static
virtual bool initWithDescriptors( IOMemoryDescriptor ** descriptors, UInt32 withCount, IODirection withDirection, bool asReference = false )virtual
APPLE_KEXT_OVERRIDE virtual addr64_t getPhysicalSegment( IOByteCount offset, IOByteCount * length, IOOptionBits options = 0 )virtual
APPLE_KEXT_OVERRIDE virtual IOReturn prepare(IODirection forDirection = kIODirectionNone)virtual
APPLE_KEXT_OVERRIDE virtual IOReturn complete(IODirection forDirection = kIODirectionNone)virtual
APPLE_KEXT_OVERRIDE virtual IOReturn setPurgeable(IOOptionBits newState, IOOptionBits * oldState)virtual
IOReturn setOwnership(task_t newOwner, int newLedgerTag, IOOptionBits newOptions)
IOReturn getPageCounts(IOByteCount * residentPageCount, IOByteCount * dirtyPageCount)
IOReturn getPageCounts( IOByteCount * residentPageCount, IOByteCount * dirtyPageCount, IOByteCount * swappedPageCount )
APPLE_KEXT_OVERRIDE
virtual uint64_t getPreparationID(void)virtualmacroIOMULTIMEMORYDESCRIPTOR_SUPPORTS_GETPAGECOUNTS
#define IOMULTIMEMORYDESCRIPTOR_SUPPORTS_GETPAGECOUNTS 1