Mac OS X Reference Library Apple Developer
Search

IOCommand

Inherits from:
Declared In:

Overview

This class is an abstract class which represents an I/O command.

Discussion

This class is an abstract class which represents an I/O command passed from a device driver to a controller. All controller commands (e.g. IOATACommand) should inherit from this class.



Member Data

fCommandChain

fCommandChain


public

queue_chain_t fCommandChain;
Discussion

This variable is used by the current 'owner' to queue the command. During the life cycle of a command it moves through a series of queues. This is the queue pointer for it. Only valid while 'ownership' is clear. For instance a IOCommandPool uses this pointer to maintain its list of free commands. May be manipulated using the kern/queue.h macros

 

Did this document help you? Yes It's good, but... Not helpful...

Last Updated: 2010-07-29