|
Mac OS 9
|
#include <ATA.h>
Data Fields | |
| ataPBHeader * | ataPBLink |
| UInt16 | ataPBQType |
| UInt8 | ataPBVers |
| UInt8 | ataPBReserved |
| Ptr | ataPBReserved2 |
| ATACallbackUPP | ataPBCallbackPtr |
| OSErr | ataPBResult |
| UInt8 | ataPBFunctionCode |
| UInt8 | ataPBIOSpeed |
| UInt16 | ataPBFlags |
| SInt16 | ataPBReserved3 |
| UInt32 | ataPBDeviceID |
| UInt32 | ataPBTimeOut |
| Ptr | ataPBClientPtr1 |
| Ptr | ataPBClientPtr2 |
| UInt16 | ataPBState |
| UInt16 | ataPBSemaphores |
| SInt32 | ataPBReserved4 |
| UInt16 | Reserved1 [4] |
| UInt8 * | ataPBBuffer |
| UInt16 | Reserved2 [12] |
| SInt16 | Reserved3 [6] |
Manager parameter block structure <DP03/10/94>
| UInt8* ataIdentify::ataPBBuffer |
Reserved. These are used internally by the Manager
| ATACallbackUPP ataIdentify::ataPBCallbackPtr |
Reserved
| Ptr ataIdentify::ataPBClientPtr1 |
-->: Transaction timeout value in msec
| Ptr ataIdentify::ataPBClientPtr2 |
Client's storage Ptr 1
| UInt32 ataIdentify::ataPBDeviceID |
Reserved
| UInt16 ataIdentify::ataPBFlags |
-->: I/O Timing Class
| UInt8 ataIdentify::ataPBFunctionCode |
<–: Returned result
| UInt8 ataIdentify::ataPBIOSpeed |
-->: Manager Function Code
| ataPBHeader* ataIdentify::ataPBLink |
Start of cloned common header ataPBHdr
| UInt16 ataIdentify::ataPBQType |
a pointer to the next entry in the queue
| UInt8 ataIdentify::ataPBReserved |
-->: parameter block version number; Must be 0x01
| Ptr ataIdentify::ataPBReserved2 |
Reserved
| SInt16 ataIdentify::ataPBReserved3 |
-->: Various control options
| SInt32 ataIdentify::ataPBReserved4 |
Used internally by the manager
| OSErr ataIdentify::ataPBResult |
-->: Completion Routine Pointer
| UInt16 ataIdentify::ataPBSemaphores |
Reserved for Manager; Initialize to 0
| UInt16 ataIdentify::ataPBState |
Client's storage Ptr 2
| UInt32 ataIdentify::ataPBTimeOut |
-->: Device identifier (see ataDeviceID)
| UInt8 ataIdentify::ataPBVers |
type byte for safety check
| UInt16 ataIdentify::Reserved1[4] |
Reserved
End of cloned common header ataPBHdr
| UInt16 ataIdentify::Reserved2[12] |
Buffer for the identify data (512 bytes)
| SInt16 ataIdentify::Reserved3[6] |
Used internally by the ATA Manager