ApertureOS
Functions
ahci.h File Reference
#include "types.h"
#include "drivers.h"
#include "priv_ahci.h"
Include dependency graph for ahci.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8_t AHCI_Initialize (void)
 Initialize the AHCI controller. More...
 
void AHCI_Reset (void)
 Reset the AHCI controller. More...
 
uint8_t AHCI_CheckDeviceType (HBA_PORT *port)
 Check the device type of the current port. More...
 
bool AHCI_Read (HBA_PORT *port, uint64_t start, uint32_t count, uint16_t *buf)
 Read from the disk. More...
 
bool AHCI_0_Read (uint64_t start, uint32_t count, uint16_t *buf)
 Read from the first disk. More...
 
bool AHCI_Write (HBA_PORT *port, uint64_t start, uint32_t count, uint16_t *buf)
 Write to the disk. More...
 
bool AHCI_0_Write (uint64_t start, uint32_t count, uint16_t *buf)
 Write to the first disk. More...