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