Home | History | Annotate | Line # | Download | only in ofwboot
boot.h revision 1.3.14.1
      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.14.1     yamt extern int ofw_version;
     14       1.3  tsutsui 
     15       1.1  aymeric #ifdef HAVE_CHANGEDISK_HOOK
     16       1.1  aymeric struct open_file;
     17       1.1  aymeric 
     18       1.1  aymeric void changedisk_hook(struct open_file *of);
     19       1.1  aymeric #endif
     20       1.1  aymeric 
     21       1.2  tsutsui void freeall(void);
     22       1.2  tsutsui 
     23       1.1  aymeric #endif /* BOOT_H_ */
     24