Home | History | Annotate | Line # | Download | only in ofwboot
boot.h revision 1.1.116.2
      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.1.116.2    skrll #define MAXBOOTPATHLEN	256
     11  1.1.116.2    skrll extern char bootdev[MAXBOOTPATHLEN];
     12  1.1.116.2    skrll extern bool floppyboot;
     13  1.1.116.2    skrll 
     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.1.116.1    skrll void freeall(void);
     21  1.1.116.1    skrll 
     22        1.1  aymeric #endif /* BOOT_H_ */
     23