Mac OS 9
ataRegAccess 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
 
UInt16 ataRegSelect
 
ataRegValueUnion ataRegValue
 
UInt16 ataRegMask
 
ataTaskFile ataRegisterImage
 
UInt8 ataAltSDevCReg
 
UInt8 Reserved3
 
SInt16 Reserved [16]
 

Detailed Description

Manager parameter block structure

Field Documentation

◆ ataAltSDevCReg

UInt8 ataRegAccess::ataAltSDevCReg

<->: register images

◆ ataPBCallbackPtr

ATACallbackUPP ataRegAccess::ataPBCallbackPtr

Reserved

◆ ataPBClientPtr1

Ptr ataRegAccess::ataPBClientPtr1

-->: Transaction timeout value in msec

◆ ataPBClientPtr2

Ptr ataRegAccess::ataPBClientPtr2

Client's storage Ptr 1

◆ ataPBDeviceID

UInt32 ataRegAccess::ataPBDeviceID

Reserved

◆ ataPBFlags

UInt16 ataRegAccess::ataPBFlags

-->: I/O Timing Class

◆ ataPBFunctionCode

UInt8 ataRegAccess::ataPBFunctionCode

<–: Returned result

◆ ataPBIOSpeed

UInt8 ataRegAccess::ataPBIOSpeed

-->: Manager Function Code

◆ ataPBLink

ataPBHeader* ataRegAccess::ataPBLink

Start of cloned common header ataPBHdr

◆ ataPBQType

UInt16 ataRegAccess::ataPBQType

a pointer to the next entry in the queue

◆ ataPBReserved

UInt8 ataRegAccess::ataPBReserved

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

◆ ataPBReserved2

Ptr ataRegAccess::ataPBReserved2

Reserved

◆ ataPBReserved3

SInt16 ataRegAccess::ataPBReserved3

-->: Various control options

◆ ataPBReserved4

SInt32 ataRegAccess::ataPBReserved4

Used internally by the manager

◆ ataPBResult

OSErr ataRegAccess::ataPBResult

-->: Completion Routine Pointer

◆ ataPBSemaphores

UInt16 ataRegAccess::ataPBSemaphores

Reserved for Manager; Initialize to 0

◆ ataPBState

UInt16 ataRegAccess::ataPBState

Client's storage Ptr 2

◆ ataPBTimeOut

UInt32 ataRegAccess::ataPBTimeOut

-->: Device identifier (see ataDeviceID)

◆ ataPBVers

UInt8 ataRegAccess::ataPBVers

type byte for safety check

◆ ataRegisterImage

ataTaskFile ataRegAccess::ataRegisterImage

-->: mask for register(s) to update bit 0 : data register valid bit 1 : error/feaures register valid bit 2 : sector count register valid bit 3 : sector number register valid bit 4 : cylinder low register valid bit 5 : cylinder high register valid bit 6 : ataTFSDH register valid bit 7 : status/command register valid bits 8 - 13 : reserved (set to 0) bit 14: alternate status / device control reg valid bit 15: reserved (set to 0)

◆ ataRegMask

UInt16 ataRegAccess::ataRegMask

Following fields are valid only if ataRegSelect = 0xFFFF

◆ ataRegSelect

UInt16 ataRegAccess::ataRegSelect

Reserved
End of cloned common header ataPBHdr

◆ ataRegValue

ataRegValueUnion ataRegAccess::ataRegValue

-->: Device Register Selector DataReg 0
ErrorReg(R) or FeaturesReg(W) 1 SecCntReg 2 SecNumReg 3 CylLoReg 4 CylHiReg 5 SDHReg 6 StatusReg(R) or CmdReg(W) 7 AltStatus(R) or DevCntr(W) 0E

◆ Reserved

SInt16 ataRegAccess::Reserved[16]

Reserved

◆ Reserved3

UInt8 ataRegAccess::Reserved3

<->: Alternate status(R) or Device Control(W) register image


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