mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-12 08:36:05 -04:00
24 lines
421 B
C
24 lines
421 B
C
#ifndef BOOT_H_
|
|
#define BOOT_H_
|
|
|
|
#include <sys/types.h>
|
|
|
|
typedef void (*boot_entry_t)(int, int, int (*)(void *), void *, u_int);
|
|
|
|
void main(void) __section(".text");
|
|
|
|
#define MAXBOOTPATHLEN 256
|
|
extern char bootdev[MAXBOOTPATHLEN];
|
|
extern bool floppyboot;
|
|
extern int ofw_version;
|
|
|
|
#ifdef HAVE_CHANGEDISK_HOOK
|
|
struct open_file;
|
|
|
|
void changedisk_hook(struct open_file *of);
|
|
#endif
|
|
|
|
void freeall(void);
|
|
|
|
#endif /* BOOT_H_ */
|