1 #ifndef _ACHI_DRIVER_H_
2 #define _ACHI_DRIVER_H_
void AHCI_Reset(void)
Reset the AHCI controller.
Definition: ahci.c:104
bool AHCI_0_Read(uint64_t start, uint32_t count, uint16_t *buf)
Read from the first disk.
Definition: ahci.c:151
Definition: priv_ahci.h:169
uint8_t AHCI_Initialize(void)
Initialize the AHCI controller.
Definition: ahci.c:17
bool AHCI_Write(HBA_PORT *port, uint64_t start, uint32_t count, uint16_t *buf)
Write to the disk.
Definition: ahci.c:181
bool AHCI_Read(HBA_PORT *port, uint64_t start, uint32_t count, uint16_t *buf)
Read from the disk.
Definition: ahci.c:161
uint8_t AHCI_CheckDeviceType(HBA_PORT *port)
Check the device type of the current port.
Definition: ahci.c:125
bool AHCI_0_Write(uint64_t start, uint32_t count, uint16_t *buf)
Write to the first disk.
Definition: ahci.c:172