kern

view 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
line source
1 #ifndef ATA_H_
2 #define ATA_H_
4 void init_ata(void);
6 int ata_num_devices(void);
7 uint64_t ata_num_sectors(int devno);
9 int ata_read_pio(int devno, uint64_t sect, void *buf);
10 int ata_write_pio(int devno, uint64_t sect, void *buf);
12 #endif /* ATA_H_ */