setBufferConstraints
Configures page table generation parameters
Declaration
IOReturn setBufferConstraints(
UInt64 maxSegmentSize,
UInt32 alignment,
UInt32 options = 0);Return Value
May return an error if there is a problem allocating the underlying resources or if buffers are currently attached.
Overview
Sets the maximums size of any page table segment and the required alignemnt. Double buffering may be used to satisfy these constraints. The only supported option is kFWSBP2ConstraintForceDoubleBuffer which forces a page aligned double buffering of the entire descriptor.
See Also
Miscellaneous
allocatePageTabledeallocatePageTablegetCommandBufferDescriptorgetCommandFlagsgetCommandGenerationgetCommandTimeoutgetLogingetMaxPayloadSizegetORBAddressgetRefCongetRefCon64releasereleaseCommandBufferssetCommandBlock(IOMemoryDescriptor *)setCommandBlock(void *, UInt32)setCommandBufferssetCommandBuffersAsRanges(IOMemoryDescriptor *, UInt32, UInt32)setCommandBuffersAsRanges(IOVirtualRange *, UInt32, IODirection, task_t, UInt32, UInt32)setCommandBuffersAsRanges64setCommandFlagssetCommandGenerationsetCommandTimeoutsetMaxPayloadSizesetRefConsetRefCon64