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