This was a missing file that was needed for the build.

This commit is contained in:
Tom Zimmerman 2003-10-03 16:56:53 +00:00
parent 25f2e09781
commit 2d10d6bb26

20
src/include/ide.h Normal file
View file

@ -0,0 +1,20 @@
#ifndef IDE_H
#define IDE_H
/* read a sector or a partial sector */
extern int ide_read_sector(int drive, void * buffer, unsigned int block, int byte_offset,
int n_bytes);
extern int ide_init(void);
#define DRIVE_ABSENT 0
#if 1
#define DRIVE_PRESENT 1
#else
#define DRIVE_ATA 1
#define DRIVE_ATAPI 2
#endif
#define DRIVE_SHIFT 16
extern unsigned ide_probe(unsigned base, unsigned basedrive);
extern unsigned ide_spinup(unsigned base, unsigned basedrive);
#endif /* IDE_H */