#ifndef __PHYSIO_DISK_H #define __PHYSIO_DISK_H /* * Defines */ /* Buffers */ #define HDA_CMDREG 0x3F6 #define HDA_DATAREGS 0x110 /* IRQ */ #define HDA_IRQ 14 /* * Types */ struct dskinfo_t { uint16_t nb_sec; uint16_t nb_cyl; uint16_t taille_sec; }; /* * Fonctions */ struct dskinfo_t dskinfo(); void disk_seek(uint16_t cylinder, uint16_t sector); #endif /* __PHYSIO_DISK_H */