6 //typedef uint64_t sector_t;
9 int ide_probe(int drive
);
10 int ide_read(int drive
, sector_t sector
, void *buffer
);
14 int usb_probe(int drive
);
15 int usb_read(int drive
, sector_t sector
, void *buffer
);
22 int devopen(const char *name
, int *reopen
);
23 int devread(unsigned long sector
, unsigned long byte_offset
,
24 unsigned long byte_len
, void *buf
);
26 int file_open(const char *filename
);
27 int file_read(void *buf
, unsigned long len
);
28 int file_seek(unsigned long offset
);
29 unsigned long file_size(void);
31 #define PARTITION_UNKNOWN 0xbad6a7
34 int open_eltorito_image(int part
, unsigned long *start
, unsigned long *length
);
36 # define open_eltorito_image(x,y,z) PARTITION_UNKNOWN
39 extern int using_devsize
;