ReactOS 0.4.17-dev-116-ga4b6fe9
_ATA_DEVICE_REQUEST Struct Reference

#include <hwidep.h>

Collaboration diagram for _ATA_DEVICE_REQUEST:

Public Attributes

union {
   UCHAR   Cdb [16]
 
   ATA_TASKFILE   TaskFile
 
}; 
 
PVOID DataBuffer
 
ULONG Flags
 
ULONG DataTransferLength
 
union {
   SLIST_ENTRY   CompletionEntry
 
   LIST_ENTRY   PortEntry
 
}; 
 
union {
   UCHAR   Cdb [16]
 
   ATA_TASKFILE   TaskFile
 
}; 
 
PSCATTER_GATHER_LIST SgList
 
PATA_IO_CONTEXT_COMMON Device
 
PMDL Mdl
 
PIRP Irp
 
PSCSI_REQUEST_BLOCK Srb
 
UCHAR SrbStatus
 
PREQUEST_COMPLETION_ROUTINE Complete
 
ULONG Tag
 
ULONG Slot
 
ULONG TimeOut
 
union {
   struct {
      UCHAR   InternalState
 
      UCHAR   TranslationState
 
      UCHAR   Reserved1
 
      UCHAR   Reserved2
 
   } 
 
   ULONG   State
 
}; 
 
ATA_TASKFILE Output
 ATA normal/error outputs.
 

Detailed Description

ATA device request context

Definition at line 158 of file hwidep.h.

Member Data Documentation

◆ 

union { ... } _ATA_DEVICE_REQUEST::@138

◆ 

union { ... } _ATA_DEVICE_REQUEST::@3676

◆ 

union { ... } _ATA_DEVICE_REQUEST::@3678

◆ 

union { ... } _ATA_DEVICE_REQUEST::@3680

◆ Cdb

UCHAR _ATA_DEVICE_REQUEST::Cdb[16]

Definition at line 162 of file hwidep.h.

◆ Complete

PREQUEST_COMPLETION_ROUTINE _ATA_DEVICE_REQUEST::Complete

Definition at line 230 of file ata_shared.h.

Referenced by AtaFdoStartDevice().

◆ CompletionEntry

SLIST_ENTRY _ATA_DEVICE_REQUEST::CompletionEntry

Completion queue entry

Definition at line 211 of file ata_shared.h.

◆ DataBuffer

PVOID _ATA_DEVICE_REQUEST::DataBuffer

Definition at line 165 of file hwidep.h.

◆ DataTransferLength

ULONG _ATA_DEVICE_REQUEST::DataTransferLength

Definition at line 175 of file hwidep.h.

◆ Device

PATA_IO_CONTEXT_COMMON _ATA_DEVICE_REQUEST::Device

Definition at line 223 of file ata_shared.h.

Referenced by AtaPdoCreateDevice().

◆ Flags

◆ InternalState

UCHAR _ATA_DEVICE_REQUEST::InternalState

Definition at line 238 of file ata_shared.h.

◆ Irp

PIRP _ATA_DEVICE_REQUEST::Irp

Definition at line 227 of file ata_shared.h.

◆ Mdl

PMDL _ATA_DEVICE_REQUEST::Mdl

Definition at line 226 of file ata_shared.h.

◆ Output

ATA_TASKFILE _ATA_DEVICE_REQUEST::Output

ATA normal/error outputs.

The contents of registers are only valid if flags has the REQUEST_FLAG_HAS_TASK_FILE bit set.

The driver always updates it on ATA errors as we have to set the ATA LBA field. For ATAPI errors only the Status and Error fields are updated, as an optimization.

Definition at line 255 of file ata_shared.h.

Referenced by AtaDeviceNcqRecovery().

◆ PortEntry

LIST_ENTRY _ATA_DEVICE_REQUEST::PortEntry

Port queue entry

Definition at line 214 of file ata_shared.h.

◆ Reserved1

UCHAR _ATA_DEVICE_REQUEST::Reserved1

Definition at line 240 of file ata_shared.h.

◆ Reserved2

UCHAR _ATA_DEVICE_REQUEST::Reserved2

Definition at line 241 of file ata_shared.h.

◆ SgList

PSCATTER_GATHER_LIST _ATA_DEVICE_REQUEST::SgList

Definition at line 222 of file ata_shared.h.

◆ Slot

ULONG _ATA_DEVICE_REQUEST::Slot

Definition at line 232 of file ata_shared.h.

◆ Srb

PSCSI_REQUEST_BLOCK _ATA_DEVICE_REQUEST::Srb

◆ SrbStatus

UCHAR _ATA_DEVICE_REQUEST::SrbStatus

◆ State

ULONG _ATA_DEVICE_REQUEST::State

Definition at line 243 of file ata_shared.h.

◆ Tag

ULONG _ATA_DEVICE_REQUEST::Tag

Definition at line 231 of file ata_shared.h.

◆ TaskFile

ATA_TASKFILE _ATA_DEVICE_REQUEST::TaskFile

Definition at line 163 of file hwidep.h.

◆ TimeOut

ULONG _ATA_DEVICE_REQUEST::TimeOut

Definition at line 233 of file ata_shared.h.

◆ TranslationState

UCHAR _ATA_DEVICE_REQUEST::TranslationState

Definition at line 239 of file ata_shared.h.


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