IOATABusCommand
Declaration
class IOATABusCommand : IOATACommandOverview
ATA Device (disk) drivers should use the superclass, IOATACommand and may not derive or use any subclass of IOATACommand.
IOATABusCommand is the subclass of IOATACommand used by IOATAControllers. Controller classes may override this class to provide additional fields as their needs dictate or may use this as a concrete class if it is sufficient.
IOATAControllers are always paired with specific IOATADevices and each specific subclass of IOATADevice is in turn the factory method for IOATACommands for use by disk drivers.
In this manner, mass-storage device drivers (disk drivers, clients of ATA bus controllers) see only the generalized interface of IOATADevice and the generalized interface of IOATACommand. This provides isolation from specific bus details for disk drivers and offers flexibility to controllers to add per-command fields and state variables for their own internal use.
Topics
Miscellaneous
allocateCmdexecuteCallbackgetBuffergetByteCountgetCallbackPtrgetFlagsgetOpcodegetPacketDatagetPacketSizegetPositiongetRegMaskgetTaskFilePtrgetTimeoutMSgetTransferChunkSizegetUnitinitsetActualTransfersetCommandInUsesetResultzeroCommand
DataTypes
Instance Variables
Instance Methods
executeCallbackgetBuffergetByteCountgetCallbackPtrgetFlagsgetMetaClassgetOpcodegetPacketDatagetPacketSizegetPositiongetRegMaskgetTaskFilePtrgetTimeoutMSgetTransferChunkSizegetUnitinitsetActualTransfersetCommandInUsesetResultzeroCommand