Turnstone Operating System
Loading...
Searching...
No Matches
ahci_disk_impl.64.c File Reference

AHCI Disk Implementation. More...

#include <disk.h>
#include <driver/ahci.h>
#include <utils.h>
#include <list.h>
#include <logging.h>

Classes

struct  ahci_disk_impl_context_t
 

Typedefs

typedef struct ahci_disk_impl_context_t ahci_disk_impl_context_t
 

Functions

 MODULE ("turnstone.kernel.hw.disk.ahci")
 
memory_heap_tahci_disk_impl_get_heap (const disk_or_partition_t *d)
 
uint64_t ahci_disk_impl_get_size (const disk_or_partition_t *d)
 
uint64_t ahci_disk_impl_get_block_size (const disk_or_partition_t *d)
 
int8_t ahci_disk_impl_write (const disk_or_partition_t *d, uint64_t lba, uint64_t count, uint8_t *data)
 
int8_t ahci_disk_impl_read (const disk_or_partition_t *d, uint64_t lba, uint64_t count, uint8_t **data)
 
int8_t ahci_disk_impl_flush (const disk_or_partition_t *d)
 
int8_t ahci_disk_impl_close (const disk_or_partition_t *d)
 
disk_tahci_disk_impl_open (ahci_sata_disk_t *sata_disk)
 

Detailed Description

AHCI Disk Implementation.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.