kern

view src/ata.h @ 98:921a264297a4

merged the filesystem stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 17 Apr 2014 17:03:30 +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_ */