IOMemoryDescriptor
An abstract base class that defines common methods for describing physical or virtual memory.
Declaration
class IOMemoryDescriptor : OSObjectOverview
An IOMemoryDescriptor object represents a buffer or range of memory, specified as one or more physical or virtual address ranges. It contains methods to return the memory's physically contiguous segments (fragments), for use with the IOMemoryCursor, and methods to map the memory into any address space with caching and placed mapping options.
Topics
Creating the Memory Buffer
initWithOptionsinitWithOptionswithOptionswithOptionswithAddresswithAddresswithAddressRangewithAddressRangewithAddressRangeswithAddressRangeswithPersistentMemoryDescriptorwithPersistentMemoryDescriptorwithPhysicalAddresswithPhysicalAddressfree
Configuring the Descriptor
Preparing the Buffer
Reading and Writing Buffer Data
Mapping to the Other Address Spaces
Getting the Memory Pages
Getting the Descriptor Information
Accessing the Buffer's Tag
Operating on the Memory
Managing Internal Structures
reservedinitializeDispatchCreateMapping_InvokepopulateDevicePagerCreateMappingCreateMapping_ImplMapaddMappingremoveMappingmakeMappingdoMapdoUnmaphandleFaultredirect