ReactOS 0.4.16-dev-329-g9223134
|
Go to the source code of this file.
Macros | |
#define | TAG_ATA_DEVICE 'DatA' |
#define | ATAPI_PACKET_SIZE(IdentifyData) (IdentifyData.AtapiCmdSize ? 16 : 12) |
#define | ATA_STATUS_TIMEOUT 31e5 |
#define | AtaWritePort(Channel, Port, Data) WRITE_PORT_UCHAR(UlongToPtr(BaseArray[(Channel)] + (Port)), (Data)) |
#define | AtaReadPort(Channel, Port) READ_PORT_UCHAR(UlongToPtr(BaseArray[(Channel)] + (Port))) |
#define | AtaWriteBuffer(Channel, Buffer, Count) |
#define | AtaReadBuffer(Channel, Buffer, Count) |
#define | MAX_CHANNELS RTL_NUMBER_OF(BaseArray) |
#define | MAX_DEVICES 2 /* Master/Slave */ |
Variables | |
static const ULONG | BaseArray [] |
static PDEVICE_UNIT | Units [MAX_CHANNELS *MAX_DEVICES] |
#define ATAPI_PACKET_SIZE | ( | IdentifyData | ) | (IdentifyData.AtapiCmdSize ? 16 : 12) |
#define AtaReadPort | ( | Channel, | |
Port | |||
) | READ_PORT_UCHAR(UlongToPtr(BaseArray[(Channel)] + (Port))) |
#define AtaWritePort | ( | Channel, | |
Port, | |||
Data | |||
) | WRITE_PORT_UCHAR(UlongToPtr(BaseArray[(Channel)] + (Port)), (Data)) |
#define MAX_CHANNELS RTL_NUMBER_OF(BaseArray) |
BOOLEAN AtaAtapiReadLogicalSectorsLBA | ( | IN OUT PDEVICE_UNIT | DeviceUnit, |
IN ULONGLONG | SectorNumber, | ||
IN ULONG | SectorCount, | ||
OUT PVOID | Buffer | ||
) |
Definition at line 187 of file hwide.c.
Referenced by Pc98DiskReadLogicalSectorsLBA(), and XboxDiskReadLogicalSectors().
Definition at line 166 of file hwide.c.
PDEVICE_UNIT AtaGetDevice | ( | IN UCHAR | UnitNumber | ) |
Definition at line 178 of file hwide.c.
Referenced by InitIdeDrive(), Pc98DiskReadLogicalSectorsLBA(), and XboxDiskInit().
Definition at line 722 of file hwide.c.
Referenced by IdentifyDevice().
Definition at line 139 of file hwide.c.
Referenced by Pc98InitializeBootDevices(), and XboxDiskInit().
|
static |
Definition at line 474 of file hwide.c.
Referenced by AtapiReadyCheck(), and IdentifyDevice().
|
static |
Definition at line 539 of file hwide.c.
Referenced by AtapiCapacityDetect(), AtapiReadLogicalSectorLBA(), and AtapiReadyCheck().
|
static |
Definition at line 423 of file hwide.c.
Referenced by AtaAtapiReadLogicalSectorsLBA().
|
static |
Definition at line 554 of file hwide.c.
Referenced by AtaAtapiReadLogicalSectorsLBA().
|
static |
Definition at line 510 of file hwide.c.
Referenced by AtapiPrintSenseData(), AtapiReadyCheck(), and IdentifyDevice().
|
static |
Definition at line 252 of file hwide.c.
Referenced by AtaAtapiReadLogicalSectorsLBA().
|
static |
Definition at line 376 of file hwide.c.
Referenced by AtapiCapacityDetect(), AtapiReadLogicalSectorLBA(), AtapiReadyCheck(), and AtapiRequestSense().
DBG_DEFAULT_CHANNEL | ( | DISK | ) |
|
static |
Definition at line 750 of file hwide.c.
Referenced by AtaInit().
Definition at line 735 of file hwide.c.
Referenced by AtapiReadLogicalSectorLBA(), AtapiReadyCheck(), AtaReadLogicalSectorsLBA(), and IdentifyDevice().
Definition at line 704 of file hwide.c.
Referenced by AtaHardReset(), AtapiReadLogicalSectorLBA(), AtapiReadyCheck(), AtaReadLogicalSectorsLBA(), IdentifyDevice(), WaitForFlags(), and WaitForFlagsOr().
|
static |
Definition at line 650 of file hwide.c.
Referenced by AtaReadLogicalSectorsLBA(), AtaSendAtapiPacket(), and IdentifyDevice().
|
static |
Definition at line 677 of file hwide.c.
Referenced by AtaSendAtapiPacket().
Definition at line 41 of file hwide.c.
Referenced by IdentifyDevice(), KdDebuggerInitialize0(), KdPortInitializeEx(), KdpPortInitialize(), and otv_MarkBasePos_validate().
|
static |
Definition at line 55 of file hwide.c.
Referenced by AcpiOsSignalSemaphore(), AcpiOsWaitSemaphore(), AtaFree(), AtaGetDevice(), and AtaInit().