#include "src/common/shared.hpp"
#include "src/memory/memset.hpp"
#include "src/memory/align.hpp"
#include "src/memory/heap.hpp"
#include "src/common/io.hpp"
#include "src/ipc/lock.hpp"
#include "src/ata.hpp"
Idź do kodu źródłowego tego pliku.
Komponenty | |
struct | ATAData |
Funkcje | |
void | ATADelay () |
void | ATAIssueCommand (uint16 BasePort, uint8 Command, struct ATAData *dt) |
void | ATAReadSector (int nDriveIndex, void *buf, uint64 block, int byte_offset, int nbytes) |
void | ATAReadSectorWRetryCHS (bool primarysecondary, char *buf, char head, uint32 SectorCount, char SecNum, uint16 Cylinder) |
void | sub () |
void ATADelay | ( | ) |
Definicja w linii 40 pliku ata.cpp.
Odwołuje się do ATA_BUSY, ATADelay(), ATAData::Cylinder, ATAData::CylinderExt, ATAData::DriveHead, IOPorts::inb(), IPC::Lock::lock_t::lock(), IOPorts::outb(), PORT_CMD, PORT_CYLHIGH, PORT_CYLLOW, PORT_DRIVEHEAD, PORT_SECTORCOUNT, PORT_SECTORNUM, PORT_STATUS, ATAData::SectorCount, ATAData::SectorCountExt, ATAData::SectorNum, ATAData::SectorNumExt i IPC::Lock::lock_t::ulock().
Odwołania w ATAReadSector().
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 ATAReadSectorWRetryCHS | ( | bool | primarysecondary, | |
char * | buf, | |||
char | head, | |||
uint32 | SectorCount, | |||
char | SecNum, | |||
uint16 | Cylinder | |||
) |
Definicja w linii 116 pliku ata.cpp.
Odwołuje się do ATA_PORT, ATA_READWRETRY, Thread::i, IOPorts::outb(), PORT_CMD, PORT_CYLHIGH, PORT_CYLLOW, PORT_DRIVEHEAD, PORT_SECTORCOUNT, PORT_SECTORNUM i PRNG::x.
void sub | ( | ) |
Definicja w linii 171 pliku ata.cpp.
Odwołuje się do ATA_PRIMARY, ATAReadSector(), Thread::i, kprintf() i putch().