+IOMapper * IOMapper::copyMapperForDevice(IOService * device)
+{
+ OSObject * obj;
+ IOMapper * mapper;
+ OSDictionary * matching;
+
+ obj = device->copyProperty("iommu-parent");
+ if (!obj)
+ return (NULL);
+
+ if ((mapper = OSDynamicCast(IOMapper, obj)))
+ return (mapper);
+
+ matching = IOService::propertyMatching(gIOMapperIDKey, obj);
+ if (matching)
+ {
+ mapper = OSDynamicCast(IOMapper, IOService::waitForMatchingService(matching));
+ matching->release();
+ }
+ if (mapper)
+ device->setProperty("iommu-parent", mapper);
+ else
+ obj->release();
+
+ return (mapper);
+}
+
+ppnum_t IOMapper::iovmAllocDMACommand(IODMACommand * command, IOItemCount pageCount)
+{
+ return (0);
+}
+
+void IOMapper::iovmFreeDMACommand(IODMACommand * command,
+ ppnum_t addr, IOItemCount pageCount)
+{
+}
+