1 1.1 aymeric #ifndef BOOT_H_ 2 1.1 aymeric #define BOOT_H_ 3 1.1 aymeric 4 1.1 aymeric #include <sys/types.h> 5 1.1 aymeric 6 1.1 aymeric typedef void (*boot_entry_t)(int, int, int (*)(void *), void *, u_int); 7 1.1 aymeric 8 1.1 aymeric void main(void); 9 1.1 aymeric 10 1.3 tsutsui #define MAXBOOTPATHLEN 256 11 1.3 tsutsui extern char bootdev[MAXBOOTPATHLEN]; 12 1.3 tsutsui extern bool floppyboot; 13 1.3 tsutsui 14 1.1 aymeric #ifdef HAVE_CHANGEDISK_HOOK 15 1.1 aymeric struct open_file; 16 1.1 aymeric 17 1.1 aymeric void changedisk_hook(struct open_file *of); 18 1.1 aymeric #endif 19 1.1 aymeric 20 1.2 tsutsui void freeall(void); 21 1.2 tsutsui 22 1.1 aymeric #endif /* BOOT_H_ */ 23