clearMemoryDescriptors
Clear all of the IOMemoryDescriptors currently contained in and reset the IOInterleavedMemoryDescriptor.
Declaration
virtual void clearMemoryDescriptors(
IODirection direction = direction );Parameters
- direction:
An I/O direction to be associated with the descriptor, which may affect the operation of the prepare and complete methods on some architectures.
Overview
Clears each IOMemoryDescriptor by completing (if needed) and releasing. The IOInterleavedMemoryDescriptor is then reset and may accept new descriptors up to the capacity specified when it was created.