kern
annotate src/ata.h @ 94:b3351d018ac6
read/write superblock, get/put inode
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 11 Dec 2011 11:12:30 +0200 |
parents | a398bf73fe93 |
children |
rev | line source |
---|---|
nuclear@78 | 1 #ifndef ATA_H_ |
nuclear@78 | 2 #define ATA_H_ |
nuclear@78 | 3 |
nuclear@78 | 4 void init_ata(void); |
nuclear@78 | 5 |
nuclear@88 | 6 int ata_num_devices(void); |
nuclear@90 | 7 uint64_t ata_num_sectors(int devno); |
nuclear@88 | 8 |
nuclear@86 | 9 int ata_read_pio(int devno, uint64_t sect, void *buf); |
nuclear@86 | 10 int ata_write_pio(int devno, uint64_t sect, void *buf); |
nuclear@86 | 11 |
nuclear@78 | 12 #endif /* ATA_H_ */ |