|
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 |
| NumVersion | ataMgrVersion |
| UInt8 | ataMgrPBVers |
| UInt8 | Reserved1 |
| UInt16 | ataBusCnt |
| UInt16 | ataDevCnt |
| UInt8 | ataPioModes |
| UInt8 | Reserved2 |
| UInt16 | ataIOClkResolution |
| UInt8 | ataSingleDMAModes |
| UInt8 | ataMultiDMAModes |
| SInt16 | Reserved [16] |
Manager parameter block structure
| UInt16 ataMgrInquiry::ataBusCnt |
Reserved
| UInt16 ataMgrInquiry::ataDevCnt |
<–: Number of ATA buses in the system
| UInt16 ataMgrInquiry::ataIOClkResolution |
Reserved
| UInt8 ataMgrInquiry::ataMgrPBVers |
Manager Version information
| NumVersion ataMgrInquiry::ataMgrVersion |
Reserved
End of cloned common header ataPBHdr
| UInt8 ataMgrInquiry::ataMultiDMAModes |
<–: Single Word DMA modes supported
| ATACallbackUPP ataMgrInquiry::ataPBCallbackPtr |
Reserved
| Ptr ataMgrInquiry::ataPBClientPtr1 |
-->: Transaction timeout value in msec
| Ptr ataMgrInquiry::ataPBClientPtr2 |
Client's storage Ptr 1
| UInt32 ataMgrInquiry::ataPBDeviceID |
Reserved
| UInt16 ataMgrInquiry::ataPBFlags |
-->: I/O Timing Class
| UInt8 ataMgrInquiry::ataPBFunctionCode |
<–: Returned result
| UInt8 ataMgrInquiry::ataPBIOSpeed |
-->: Manager Function Code
| ataPBHeader* ataMgrInquiry::ataPBLink |
Start of cloned common header ataPBHdr
| UInt16 ataMgrInquiry::ataPBQType |
a pointer to the next entry in the queue
| UInt8 ataMgrInquiry::ataPBReserved |
-->: parameter block version number; Must be 0x01
| Ptr ataMgrInquiry::ataPBReserved2 |
Reserved
| SInt16 ataMgrInquiry::ataPBReserved3 |
-->: Various control options
| SInt32 ataMgrInquiry::ataPBReserved4 |
Used internally by the manager
| OSErr ataMgrInquiry::ataPBResult |
-->: Completion Routine Pointer
| UInt16 ataMgrInquiry::ataPBSemaphores |
Reserved for Manager; Initialize to 0
| UInt16 ataMgrInquiry::ataPBState |
Client's storage Ptr 2
| UInt32 ataMgrInquiry::ataPBTimeOut |
-->: Device identifier (see ataDeviceID)
| UInt8 ataMgrInquiry::ataPBVers |
type byte for safety check
| UInt8 ataMgrInquiry::ataPioModes |
<–: Total number of ATA devices detected
| UInt8 ataMgrInquiry::ataSingleDMAModes |
<–: IO Clock resolution in nsec (Not supported)
| SInt16 ataMgrInquiry::Reserved[16] |
<–: Multiword DMA modes supported
| UInt8 ataMgrInquiry::Reserved1 |
<–: Manager PB version number supported
| UInt8 ataMgrInquiry::Reserved2 |
<–: Maximum Programmed I/O speed mode supported