kern

annotate 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
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_ */