allocatePageTable

Allocates memory for the page table.

Declaration

virtual IOReturn allocatePageTable(
 UInt32entryCount ); 

Parameters

entryCount

number of entries of page table to be allocated.

Overview

Page table allocation is handle automatically by the ORB, except if the kFWSBP2CommandFixedSize flags is set. In this case we will fail to write a page table if we need more page table space than we have already. This method is exposed so these drivers can preallocate as much page table as they need. This is useful if your driver is part of the paging path and cannot allow allocations to occur.

See Also

Miscellaneous

- deallocatePageTable

Frees up memory allocated for the page table.

- getCommandBufferDescriptor

Returns the memory descriptor representing the command buffer.

- getCommandFlags

Sets configuration flags for the ORB.

- getCommandGeneration

Gets the command generation.

- getCommandTimeout

Gets the timeout of the ORB.

- getLogin

Gets the login associated with this ORB.

- getMaxPayloadSize

Gets max payload size for the ORB.

- getORBAddress

Returns the FireWire address of this ORB.

- getRefCon

Returns the refCon set with setRefCon.

- getRefCon64

Returns the 64 bit refCon set with setRefCon64.

- release

Primary implementation of the release mechanism.

- releaseCommandBuffers

Releases SBP2's reference to the command buffers.

- setBufferConstraints

Configures page table generation parameters

- setCommandBlock(IOMemoryDescriptor *)

Sets the command block portion of the ORB.

- setCommandBlock(void *, UInt32)

Sets the command block portion of the ORB.

- setCommandBuffers

Creates a page table from a list of ranges.

- setCommandBuffersAsRanges64

Creates a page table from a list of 64 bit ranges.

- setCommandFlags

Sets configuration flags for the ORB.

- setCommandGeneration

Sets the command generation.

- setCommandTimeout

Sets the timeout of the ORB.

- setMaxPayloadSize

Sets max payload size for the ORB.

- setRefCon

Sets the ORB refCon.

- setRefCon64

Sets the ORB refCon as a 64 bit value.