|
Mac Dev Center
Mac OS X Reference Library Drivers, Kernel, & Hardware: Kernel Device Drivers Kernel Framework Reference
|
IOATAController |
| Inherits from: | |
| Declared In: |
The base class for ata controller family. Provides the interface common to all ata bus controllers.
The header doc for this class is incomplete. The source however is heavily commented and should be consulted until such time as complete header doc is available.
answers whether the bus is in state such that the next command can be dispatched.
Causes the command at the front of the queue to dequeue, made the current command and begin execution.
Called by executeCommand() to handle the client command from the workloop context.
busCanDispatch |
answers whether the bus is in state such that the next command can be dispatched.
protected
virtual bool busCanDispatch( void );
true - bus is free to issue commands. false - bus cannot issue commands at this time.
dispatchNext |
Causes the command at the front of the queue to dequeue, made the current command and begin execution.
protected
virtual IOReturn dispatchNext( void );
noErr indicates successful dispatch.
handleCommand |
Called by executeCommand() to handle the client command from the workloop context.
protected
virtual IOReturn handleCommand( void *command, void *param1 = 0, void *param2 = 0, void *param3 = 0);
commandThe command code.
param1Command parameter.
param2Command parameter.
param3Command parameter.
kIOReturnSuccess on success, or an error code otherwise.
ExpansionData |
protected
typedef struct ExpansionData { IOBufferMemoryDescriptor *_doubleBufferDesc; } ExpansionData;
This structure will be used to expand the capablilties of the IOATAController in the future.
reserved |
protected
ExpansionData *reserved;
Reserved for future use. (Internal use only)
Last Updated: 2009-10-14