Idź do kodu źródłowego tego pliku.
Funkcje | |
void | ATAReadSector (int nDriveIndex, void *buf, uint64 block, int byte_offset, int nbytes) |
void | sub () |
Zmienne | |
const uint16 | ATA_PORT = 0x1f0 |
const uint16 | PORT_DRIVEHEAD = 0x6 |
const uint16 | PORT_SECTORCOUNT = 0x2 |
const uint16 | PORT_SECTORNUM = 0x3 |
const uint16 | PORT_CYLLOW = 0x4 |
const uint16 | PORT_CYLHIGH = 0x5 |
const uint16 | PORT_CMD = 0x7 |
const uint16 | PORT_STATUS = 0x7 |
const uint8 | ATA_READWRETRY = 0x20 |
const uint8 | ATA_READMULTIPLEEXT = 0x29 |
const uint8 | ATA_READMULTI = 0xc4 |
const bool | ATA_PRIMARY = 0 |
const bool | ATA_SECONDARY = 1 |
const uint8 | ATA_BUSY = 0x80 |
const uint8 | ATA_LBA = 0x40 |
void ATAReadSector | ( | int | nDriveIndex, | |
void * | buf, | |||
uint64 | block, | |||
int | byte_offset, | |||
int | nbytes | |||
) |
Definicja w linii 79 pliku ata.cpp.
Odwołuje się do ATA_LBA, ATA_PORT, ATA_READMULTIPLEEXT, ATA_READWRETRY, ATAIssueCommand(), ATAData::Cylinder, ATAData::CylinderExt, ATAData::DriveHead, Thread::i, ATAData::SectorCount, ATAData::SectorCountExt, ATAData::SectorNum, ATAData::SectorNumExt i PRNG::x.
void sub | ( | ) |
Definicja w linii 171 pliku ata.cpp.
Odwołuje się do ATA_PRIMARY, ATAReadSector(), Thread::i, kprintf() i putch().
const bool ATA_PRIMARY = 0 |
const uint8 ATA_READMULTI = 0xc4 |
const uint8 ATA_READMULTIPLEEXT = 0x29 |
const uint8 ATA_READWRETRY = 0x20 |
const bool ATA_SECONDARY = 1 |
const uint16 PORT_CYLHIGH = 0x5 |
const uint16 PORT_CYLLOW = 0x4 |
const uint16 PORT_DRIVEHEAD = 0x6 |
const uint16 PORT_SECTORCOUNT = 0x2 |
const uint16 PORT_SECTORNUM = 0x3 |
const uint16 PORT_STATUS = 0x7 |