releaseCommandBuffers
Releases SBP2's reference to the command buffers.
Declaration
virtual IOReturn releaseCommandBuffers(
void );Return Value
Returns KIOReturnSuccess if the page table was cleared successfully.
Overview
When you create a page table with one of the variants of setCommandBuffers. SBP2 holds on to a reference to the buffers until this method is called. This means that if a command completed and you manipulated the memory descriptor or released the buffers without calling this method you could leave FW in an inconsistent state.
See Also
Miscellaneous
allocatePageTabledeallocatePageTablegetCommandBufferDescriptorgetCommandFlagsgetCommandGenerationgetCommandTimeoutgetLogingetMaxPayloadSizegetORBAddressgetRefCongetRefCon64releasesetBufferConstraintssetCommandBlock(IOMemoryDescriptor *)setCommandBlock(void *, UInt32)setCommandBufferssetCommandBuffersAsRanges(IOMemoryDescriptor *, UInt32, UInt32)setCommandBuffersAsRanges(IOVirtualRange *, UInt32, IODirection, task_t, UInt32, UInt32)setCommandBuffersAsRanges64setCommandFlagssetCommandGenerationsetCommandTimeoutsetMaxPayloadSizesetRefConsetRefCon64