ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


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


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: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19