xref: /netbsd-src/sys/arch/macppc/stand/ofwboot/boot.h (revision 7a6a7ae08ac6c612f0fbb0d4425825c6be2a9050)
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);
9 
10 #define MAXBOOTPATHLEN	256
11 extern char bootdev[MAXBOOTPATHLEN];
12 extern bool floppyboot;
13 
14 #ifdef HAVE_CHANGEDISK_HOOK
15 struct open_file;
16 
17 void changedisk_hook(struct open_file *of);
18 #endif
19 
20 void freeall(void);
21 
22 #endif /* BOOT_H_ */
23