map
Maps an IOMemoryDescriptor into the kernel map.
Declaration
virtual OSPtr<IOMemoryMap> map(IOOptionBits options);Parameters
- options:
Mapping options as in the full version of the createMappingInTask method, with kIOMapAnywhere assumed.
Return Value
See the full version of the createMappingInTask method.
Discussion
This is a shortcut method to map all the memory described by a memory descriptor into the kernel map at any available address. See the full version of the createMappingInTask method for further details.