blob: 2e3b6aae9f01cd8c0f859de20251ff95911da838 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#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_ */
|