Add btinfo_symtab, to pass symbol table information.

Actually the current ddb_init interface sucks, since there is no
magic number for a.out and it applies heuristics. It would be nice
if the boot blocks passed more info.
This commit is contained in:
christos 1999-01-28 20:10:55 +00:00
parent c46e7e7756
commit 72ba98061e
1 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootinfo.h,v 1.2 1999/01/27 20:54:57 thorpej Exp $ */
/* $NetBSD: bootinfo.h,v 1.3 1999/01/28 20:10:55 christos Exp $ */
/*
* Copyright (c) 1997
@ -44,6 +44,7 @@ struct btinfo_common {
#define BTINFO_NETIF 4
#define BTINFO_CONSOLE 6
#define BTINFO_BIOSGEOM 7
#define BTINFO_SYMTAB 8
struct btinfo_bootpath {
struct btinfo_common common;
@ -80,6 +81,13 @@ struct btinfo_console {
int speed;
};
struct btinfo_symtab {
struct btinfo_common common;
int nsym;
int ssym;
int esym;
};
#include <sys/disklabel_mbr.h>
struct bi_biosgeom_entry {