kern

view src/ata.h @ 92:b4264d173aae

fixed the readme file
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 17 Apr 2014 12:30:02 +0300
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_ */