Contents

clearMemoryDescriptor

Clears the DMACommand's current memory descriptor

Declaration

virtual IOReturn clearMemoryDescriptor(bool autoComplete);

Parameters

  • autoComplete:

    An optional boolean variable that will call the complete() function automatically before the memory descriptor is processed. Defaults to true.

Discussion

completes and invalidates the cache if the DMA command is currently active, copies all data from bounce buffers if necessary and releases all resources acquired during setMemoryDescriptor.

See Also

Configuring the Memory Descriptor