Mac OS 9
ataIOPB Struct Reference

#include <ATA.h>

Data Fields

ataPBHeaderataPBLink
 
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
 
SInt8 ataPBStatusRegister
 
SInt8 ataPBErrorRegister
 
SInt16 ataPBReserved5
 
UInt32 ataPBLogicalBlockSize
 
UInt8 * ataPBBuffer
 
UInt32 ataPBByteCount
 
UInt32 ataPBActualTxCount
 
UInt32 ataPBReserved6
 
ataTaskFile ataPBTaskFile
 
ATAPICmdPacketataPBPacketPtr
 
SInt16 ataPBReserved7 [6]
 

Detailed Description

Manager parameter block structure (96 bytes)

Field Documentation

◆ ataPBActualTxCount

UInt32 ataIOPB::ataPBActualTxCount

-->: Data transfer length in bytes

◆ ataPBBuffer

UInt8* ataIOPB::ataPBBuffer

-->: Blind transfer size per interrupt (Logical block size)

◆ ataPBByteCount

UInt32 ataIOPB::ataPBByteCount

-->: Data buffer pointer

◆ ataPBCallbackPtr

ATACallbackUPP ataIOPB::ataPBCallbackPtr

Reserved

◆ ataPBClientPtr1

Ptr ataIOPB::ataPBClientPtr1

-->: Transaction timeout value in msec

◆ ataPBClientPtr2

Ptr ataIOPB::ataPBClientPtr2

Client's storage Ptr 1

◆ ataPBDeviceID

UInt32 ataIOPB::ataPBDeviceID

Reserved

◆ ataPBErrorRegister

SInt8 ataIOPB::ataPBErrorRegister

<–: Last ATA status image

◆ ataPBFlags

UInt16 ataIOPB::ataPBFlags

-->: I/O Timing Class

◆ ataPBFunctionCode

UInt8 ataIOPB::ataPBFunctionCode

<–: Returned result

◆ ataPBIOSpeed

UInt8 ataIOPB::ataPBIOSpeed

-->: Manager Function Code

◆ ataPBLink

ataPBHeader* ataIOPB::ataPBLink

Start of cloned common header ataPBHdr

◆ ataPBLogicalBlockSize

UInt32 ataIOPB::ataPBLogicalBlockSize

Reserved

◆ ataPBPacketPtr

ATAPICmdPacket* ataIOPB::ataPBPacketPtr

<->: Device register images

◆ ataPBQType

UInt16 ataIOPB::ataPBQType

a pointer to the next entry in the queue

◆ ataPBReserved

UInt8 ataIOPB::ataPBReserved

-->: parameter block version number; Must be 0x01

◆ ataPBReserved2

Ptr ataIOPB::ataPBReserved2

Reserved

◆ ataPBReserved3

SInt16 ataIOPB::ataPBReserved3

-->: Various control options

◆ ataPBReserved4

SInt32 ataIOPB::ataPBReserved4

Used internally by the manager

◆ ataPBReserved5

SInt16 ataIOPB::ataPBReserved5

<–: Last ATA error image-valid if lsb of Status set

◆ ataPBReserved6

UInt32 ataIOPB::ataPBReserved6

<–: Actual transfer count

◆ ataPBReserved7

SInt16 ataIOPB::ataPBReserved7[6]

-->: ATAPI packet command block pointer (valid with ATAPI bit set)

◆ ataPBResult

OSErr ataIOPB::ataPBResult

-->: Completion Routine Pointer

◆ ataPBSemaphores

UInt16 ataIOPB::ataPBSemaphores

Reserved for Manager; Initialize to 0

◆ ataPBState

UInt16 ataIOPB::ataPBState

Client's storage Ptr 2

◆ ataPBStatusRegister

SInt8 ataIOPB::ataPBStatusRegister

Reserved
End of cloned common header ataPBHdr

◆ ataPBTaskFile

ataTaskFile ataIOPB::ataPBTaskFile

Reserved

◆ ataPBTimeOut

UInt32 ataIOPB::ataPBTimeOut

-->: Device identifier (see ataDeviceID)

◆ ataPBVers

UInt8 ataIOPB::ataPBVers

type byte for safety check


The documentation for this struct was generated from the following file: