-
- // Function will panic if the given address is not found in a valid
- // iovm mapping.
- virtual addr64_t mapAddr(IOPhysicalAddress addr) = 0;
-
- // Get the address mask to or into an address to bypass this mapper
- virtual bool getBypassMask(addr64_t *maskP) const;
-
- virtual ppnum_t iovmAllocDMACommand(IODMACommand * command, IOItemCount pageCount);
- virtual void iovmFreeDMACommand(IODMACommand * command, ppnum_t addr, IOItemCount pageCount);
-
- virtual ppnum_t iovmMapMemory(
- OSObject * memory, // dma command or iomd
- ppnum_t offsetPage,
- ppnum_t pageCount,
- uint32_t options,
- upl_page_info_t * pageList,
- const IODMAMapSpecification * mapSpecification);
-
- OSMetaClassDeclareReservedUsed(IOMapper, 0);
- OSMetaClassDeclareReservedUsed(IOMapper, 1);
- OSMetaClassDeclareReservedUsed(IOMapper, 2);
- OSMetaClassDeclareReservedUsed(IOMapper, 3);