setCommandBuffers
Creates a page table from a list of ranges.
Declaration
virtual IOReturn setCommandBuffers(
IOMemoryDescriptor *memoryDescriptor,
UInt32 offset = 0,
UInt32 length = 0 );Parameters
- memoryDescriptor:
IOMemoryDescriptor describe ranges to be written to a page table.
- offset:
Offset in bytes into data to begin writing table at.
- length:
Number of bytes of data to map from offset.
Return Value
Returns KIOReturnSuccess if the page table was written successfully.
Overview
Creates a page table with the given parameters. Any addresses mapped by this method must remain valid until setCommandBuffers is called again or releaseCommandBuffers is called. The SBP2 services do not release references to the command buffers just because the command has completed.
See Also
Miscellaneous
allocatePageTabledeallocatePageTablegetCommandBufferDescriptorgetCommandFlagsgetCommandGenerationgetCommandTimeoutgetLogingetMaxPayloadSizegetORBAddressgetRefCongetRefCon64releasereleaseCommandBufferssetBufferConstraintssetCommandBlock(IOMemoryDescriptor *)setCommandBlock(void *, UInt32)setCommandBuffersAsRanges(IOMemoryDescriptor *, UInt32, UInt32)setCommandBuffersAsRanges(IOVirtualRange *, UInt32, IODirection, task_t, UInt32, UInt32)setCommandBuffersAsRanges64setCommandFlagssetCommandGenerationsetCommandTimeoutsetMaxPayloadSizesetRefConsetRefCon64