ReactOS  0.4.14-dev-98-gb0d4763
ata.h File Reference
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for ata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _IDENTIFY_DEVICE_DATA
 

Macros

#define IDE_LBA_MODE   (1 << 6)
 
#define IDE_COMMAND_NOP   0x00
 
#define IDE_COMMAND_DATA_SET_MANAGEMENT   0x06
 
#define IDE_COMMAND_ATAPI_RESET   0x08
 
#define IDE_COMMAND_READ   0x20
 
#define IDE_COMMAND_READ_EXT   0x24
 
#define IDE_COMMAND_READ_DMA_EXT   0x25
 
#define IDE_COMMAND_READ_DMA_QUEUED_EXT   0x26
 
#define IDE_COMMAND_READ_MULTIPLE_EXT   0x29
 
#define IDE_COMMAND_WRITE   0x30
 
#define IDE_COMMAND_WRITE_EXT   0x34
 
#define IDE_COMMAND_WRITE_DMA_EXT   0x35
 
#define IDE_COMMAND_WRITE_DMA_QUEUED_EXT   0x36
 
#define IDE_COMMAND_WRITE_MULTIPLE_EXT   0x39
 
#define IDE_COMMAND_WRITE_DMA_FUA_EXT   0x3D
 
#define IDE_COMMAND_WRITE_DMA_QUEUED_FUA_EXT   0x3E
 
#define IDE_COMMAND_VERIFY   0x40
 
#define IDE_COMMAND_VERIFY_EXT   0x42
 
#define IDE_COMMAND_EXECUTE_DEVICE_DIAGNOSTIC   0x90
 
#define IDE_COMMAND_SET_DRIVE_PARAMETERS   0x91
 
#define IDE_COMMAND_ATAPI_PACKET   0xA0
 
#define IDE_COMMAND_ATAPI_IDENTIFY   0xA1
 
#define IDE_COMMAND_SMART   0xB0
 
#define IDE_COMMAND_READ_MULTIPLE   0xC4
 
#define IDE_COMMAND_WRITE_MULTIPLE   0xC5
 
#define IDE_COMMAND_SET_MULTIPLE   0xC6
 
#define IDE_COMMAND_READ_DMA   0xC8
 
#define IDE_COMMAND_WRITE_DMA   0xCA
 
#define IDE_COMMAND_WRITE_DMA_QUEUED   0xCC
 
#define IDE_COMMAND_WRITE_MULTIPLE_FUA_EXT   0xCE
 
#define IDE_COMMAND_GET_MEDIA_STATUS   0xDA
 
#define IDE_COMMAND_DOOR_LOCK   0xDE
 
#define IDE_COMMAND_DOOR_UNLOCK   0xDF
 
#define IDE_COMMAND_STANDBY_IMMEDIATE   0xE0
 
#define IDE_COMMAND_IDLE_IMMEDIATE   0xE1
 
#define IDE_COMMAND_CHECK_POWER   0xE5
 
#define IDE_COMMAND_SLEEP   0xE6
 
#define IDE_COMMAND_FLUSH_CACHE   0xE7
 
#define IDE_COMMAND_FLUSH_CACHE_EXT   0xEA
 
#define IDE_COMMAND_IDENTIFY   0xEC
 
#define IDE_COMMAND_MEDIA_EJECT   0xED
 
#define IDE_COMMAND_SET_FEATURE   0xEF
 
#define IDE_COMMAND_SECURITY_FREEZE_LOCK   0xF5
 
#define IDE_COMMAND_NOT_VALID   0xFF
 

Typedefs

typedef struct _IDENTIFY_DEVICE_DATA IDENTIFY_DEVICE_DATA
 
typedef struct _IDENTIFY_DEVICE_DATAPIDENTIFY_DEVICE_DATA
 

Macro Definition Documentation

◆ IDE_COMMAND_ATAPI_IDENTIFY

#define IDE_COMMAND_ATAPI_IDENTIFY   0xA1

Definition at line 277 of file ata.h.

◆ IDE_COMMAND_ATAPI_PACKET

#define IDE_COMMAND_ATAPI_PACKET   0xA0

Definition at line 276 of file ata.h.

◆ IDE_COMMAND_ATAPI_RESET

#define IDE_COMMAND_ATAPI_RESET   0x08

Definition at line 259 of file ata.h.

◆ IDE_COMMAND_CHECK_POWER

#define IDE_COMMAND_CHECK_POWER   0xE5

Definition at line 291 of file ata.h.

◆ IDE_COMMAND_DATA_SET_MANAGEMENT

#define IDE_COMMAND_DATA_SET_MANAGEMENT   0x06

Definition at line 258 of file ata.h.

◆ IDE_COMMAND_DOOR_LOCK

#define IDE_COMMAND_DOOR_LOCK   0xDE

Definition at line 287 of file ata.h.

◆ IDE_COMMAND_DOOR_UNLOCK

#define IDE_COMMAND_DOOR_UNLOCK   0xDF

Definition at line 288 of file ata.h.

◆ IDE_COMMAND_EXECUTE_DEVICE_DIAGNOSTIC

#define IDE_COMMAND_EXECUTE_DEVICE_DIAGNOSTIC   0x90

Definition at line 274 of file ata.h.

◆ IDE_COMMAND_FLUSH_CACHE

#define IDE_COMMAND_FLUSH_CACHE   0xE7

Definition at line 293 of file ata.h.

◆ IDE_COMMAND_FLUSH_CACHE_EXT

#define IDE_COMMAND_FLUSH_CACHE_EXT   0xEA

Definition at line 294 of file ata.h.

◆ IDE_COMMAND_GET_MEDIA_STATUS

#define IDE_COMMAND_GET_MEDIA_STATUS   0xDA

Definition at line 286 of file ata.h.

◆ IDE_COMMAND_IDENTIFY

#define IDE_COMMAND_IDENTIFY   0xEC

Definition at line 295 of file ata.h.

◆ IDE_COMMAND_IDLE_IMMEDIATE

#define IDE_COMMAND_IDLE_IMMEDIATE   0xE1

Definition at line 290 of file ata.h.

◆ IDE_COMMAND_MEDIA_EJECT

#define IDE_COMMAND_MEDIA_EJECT   0xED

Definition at line 296 of file ata.h.

◆ IDE_COMMAND_NOP

#define IDE_COMMAND_NOP   0x00

Definition at line 257 of file ata.h.

◆ IDE_COMMAND_NOT_VALID

#define IDE_COMMAND_NOT_VALID   0xFF

Definition at line 299 of file ata.h.

◆ IDE_COMMAND_READ

#define IDE_COMMAND_READ   0x20

Definition at line 260 of file ata.h.

◆ IDE_COMMAND_READ_DMA

#define IDE_COMMAND_READ_DMA   0xC8

Definition at line 282 of file ata.h.

◆ IDE_COMMAND_READ_DMA_EXT

#define IDE_COMMAND_READ_DMA_EXT   0x25

Definition at line 262 of file ata.h.

◆ IDE_COMMAND_READ_DMA_QUEUED_EXT

#define IDE_COMMAND_READ_DMA_QUEUED_EXT   0x26

Definition at line 263 of file ata.h.

◆ IDE_COMMAND_READ_EXT

#define IDE_COMMAND_READ_EXT   0x24

Definition at line 261 of file ata.h.

◆ IDE_COMMAND_READ_MULTIPLE

#define IDE_COMMAND_READ_MULTIPLE   0xC4

Definition at line 279 of file ata.h.

◆ IDE_COMMAND_READ_MULTIPLE_EXT

#define IDE_COMMAND_READ_MULTIPLE_EXT   0x29

Definition at line 264 of file ata.h.

◆ IDE_COMMAND_SECURITY_FREEZE_LOCK

#define IDE_COMMAND_SECURITY_FREEZE_LOCK   0xF5

Definition at line 298 of file ata.h.

◆ IDE_COMMAND_SET_DRIVE_PARAMETERS

#define IDE_COMMAND_SET_DRIVE_PARAMETERS   0x91

Definition at line 275 of file ata.h.

◆ IDE_COMMAND_SET_FEATURE

#define IDE_COMMAND_SET_FEATURE   0xEF

Definition at line 297 of file ata.h.

◆ IDE_COMMAND_SET_MULTIPLE

#define IDE_COMMAND_SET_MULTIPLE   0xC6

Definition at line 281 of file ata.h.

◆ IDE_COMMAND_SLEEP

#define IDE_COMMAND_SLEEP   0xE6

Definition at line 292 of file ata.h.

◆ IDE_COMMAND_SMART

#define IDE_COMMAND_SMART   0xB0

Definition at line 278 of file ata.h.

◆ IDE_COMMAND_STANDBY_IMMEDIATE

#define IDE_COMMAND_STANDBY_IMMEDIATE   0xE0

Definition at line 289 of file ata.h.

◆ IDE_COMMAND_VERIFY

#define IDE_COMMAND_VERIFY   0x40

Definition at line 272 of file ata.h.

◆ IDE_COMMAND_VERIFY_EXT

#define IDE_COMMAND_VERIFY_EXT   0x42

Definition at line 273 of file ata.h.

◆ IDE_COMMAND_WRITE

#define IDE_COMMAND_WRITE   0x30

Definition at line 265 of file ata.h.

◆ IDE_COMMAND_WRITE_DMA

#define IDE_COMMAND_WRITE_DMA   0xCA

Definition at line 283 of file ata.h.

◆ IDE_COMMAND_WRITE_DMA_EXT

#define IDE_COMMAND_WRITE_DMA_EXT   0x35

Definition at line 267 of file ata.h.

◆ IDE_COMMAND_WRITE_DMA_FUA_EXT

#define IDE_COMMAND_WRITE_DMA_FUA_EXT   0x3D

Definition at line 270 of file ata.h.

◆ IDE_COMMAND_WRITE_DMA_QUEUED

#define IDE_COMMAND_WRITE_DMA_QUEUED   0xCC

Definition at line 284 of file ata.h.

◆ IDE_COMMAND_WRITE_DMA_QUEUED_EXT

#define IDE_COMMAND_WRITE_DMA_QUEUED_EXT   0x36

Definition at line 268 of file ata.h.

◆ IDE_COMMAND_WRITE_DMA_QUEUED_FUA_EXT

#define IDE_COMMAND_WRITE_DMA_QUEUED_FUA_EXT   0x3E

Definition at line 271 of file ata.h.

◆ IDE_COMMAND_WRITE_EXT

#define IDE_COMMAND_WRITE_EXT   0x34

Definition at line 266 of file ata.h.

◆ IDE_COMMAND_WRITE_MULTIPLE

#define IDE_COMMAND_WRITE_MULTIPLE   0xC5

Definition at line 280 of file ata.h.

◆ IDE_COMMAND_WRITE_MULTIPLE_EXT

#define IDE_COMMAND_WRITE_MULTIPLE_EXT   0x39

Definition at line 269 of file ata.h.

◆ IDE_COMMAND_WRITE_MULTIPLE_FUA_EXT

#define IDE_COMMAND_WRITE_MULTIPLE_FUA_EXT   0xCE

Definition at line 285 of file ata.h.

◆ IDE_LBA_MODE

#define IDE_LBA_MODE   (1 << 6)

Definition at line 255 of file ata.h.

Typedef Documentation

◆ IDENTIFY_DEVICE_DATA

◆ PIDENTIFY_DEVICE_DATA