]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/IODMAEventSource.h
xnu-1699.32.7.tar.gz
[apple/xnu.git] / iokit / IOKit / IODMAEventSource.h
index 4659c32471efb50f6ff42caf071c3e3b71043941..18a72de50e65e492e717c092ef38fe6b804a7b64 100644 (file)
@@ -58,9 +58,10 @@ class IODMAEventSource : public IOEventSource
                                          UInt32 dmaIndex = 0);
   
   virtual IOReturn startDMACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount byteOffset = 0);
-  virtual IOReturn stopDMACommand(bool flush = false, mach_timespec_t *timeout = 0);
+  virtual IOReturn stopDMACommand(bool flush = false, uint64_t timeout = UINT64_MAX);
   
   virtual IOReturn queryDMACommand(IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false);
+  virtual IOByteCount getFIFODepth();
   
  private:
   IOService       *dmaProvider;