|
Mac OS 9
|
#include <ATA.h>
Data Fields | |
| UInt32 | connectionID |
| UInt32 | MsgID |
| ATAResult * | result |
| ATADiagResult * | DiagResult |
| ATABusInfo * | busInfo |
| ATADevConfig * | devConfig |
| ATADataObject | ioObject |
| ataTaskFile | ataPBTaskFile |
| ATAPICmdPacket | packetCBD |
| Duration | Timeout |
| UInt32 | BusID |
| SInt8 | DevID |
| UInt8 | ataFunctionCode |
| UInt32 | AbortID |
| UInt32 | ataPBLogicalBlockSize |
| UInt32 | ataPBFlags |
| UInt32 | reserved |
| struct ATAReqBlock * | nextREQ |
| OSStatus | ataPBResult |
| UInt8 | ataPBErrorRegister |
| UInt8 | ataPBStatusRegister |
| UInt32 | ataPBactualXferCount |
| UInt32 | ataPBState |
| UInt32 | ataPBSemaphores |
| UInt8 | XferType |
| UInt8 | ataModeType |
| UInt8 | ataPBIOSpeed |
| UInt8 | reserved2 |
| UInt16 | reserved3 |
The Request block passed by the manager to the AIM
| UInt8 ATAReqBlock::ataFunctionCode |
device ID, -1(bus), 0(master), 1(slave)
| UInt8 ATAReqBlock::ataPBIOSpeed |
tracks old ataPBVers, to do absolute or bitmap modes
| OSStatus ATAReqBlock::ataPBResult |
the next req on this list
| ataTaskFile ATAReqBlock::ataPBTaskFile |
The actual transfer data
| UInt32 ATAReqBlock::BusID |
timeout for this request
| ATABusInfo* ATAReqBlock::busInfo |
for diagnostics i.e. R(W) registers
| UInt32 ATAReqBlock::connectionID |
Filled in by ATA Mgr v4.0
| ATADevConfig* ATAReqBlock::devConfig |
for bus info requests
| SInt8 ATAReqBlock::DevID |
family assigned bus ID
| ATADiagResult* ATAReqBlock::DiagResult |
result of this operation
| ATADataObject ATAReqBlock::ioObject |
for device config requests
| UInt32 ATAReqBlock::MsgID |
the connection ID of the req block
| struct ATAReqBlock* ATAReqBlock::nextREQ |
Used internally by the AIM
| ATAPICmdPacket ATAReqBlock::packetCBD |
the task file
| UInt8 ATAReqBlock::reserved2 |
-->: I/O Timing Class
| ATAResult* ATAReqBlock::result |
the ioTag value of this request
| Duration ATAReqBlock::Timeout |
For the ATAPI cmd packets