1 #ifndef _COM32_CHAIN_UTILITY_H
2 #define _COM32_CHAIN_UTILITY_H
5 #include <syslinux/disk.h>
20 void error(const char *msg);
21 int guid_is0(const struct guid *guid);
23 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, uint32_t mode);
24 uint32_t get_file_lba(const char *filename);
25 int drvoff_detect(int type, unsigned int *off);
26 int bpb_detect(const uint8_t *bpb, const char *tag);
30 /* vim: set ts=8 sts=4 sw=4 noet: */