Define bootinfo record to pass the kernel file path from the boot program.
This commit is contained in:
parent
dade289395
commit
945536cf85
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bootinfo.h,v 1.1 1999/05/02 13:50:17 christos Exp $ */
|
||||
/* $NetBSD: bootinfo.h,v 1.2 2002/03/28 15:43:23 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997
|
||||
|
@ -45,8 +45,9 @@ struct btinfo_common {
|
|||
int type;
|
||||
};
|
||||
|
||||
#define BTINFO_MAGIC 1
|
||||
#define BTINFO_SYMTAB 2
|
||||
#define BTINFO_MAGIC 1
|
||||
#define BTINFO_SYMTAB 2
|
||||
#define BTINFO_KERNELFILE 3
|
||||
|
||||
struct btinfo_magic {
|
||||
struct btinfo_common common;
|
||||
|
@ -60,6 +61,11 @@ struct btinfo_symtab {
|
|||
int esym;
|
||||
};
|
||||
|
||||
struct btinfo_kernelfile {
|
||||
struct btinfo_common common;
|
||||
char name[1]; /* variable length */
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
void *lookup_bootinfo __P((int));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue