version 1.335, 1999/01/16 20:30:34 |
version 1.336, 1999/01/28 20:06:31 |
Line 1959 init386(first_avail) |
|
Line 1959 init386(first_avail) |
|
{ |
{ |
extern int end; |
extern int end; |
extern int *esym; |
extern int *esym; |
|
struct btinfo_symtab *symtab; |
|
|
ddb_init(*(int *)&end, ((int *)&end) + 1, esym); |
symtab = lookup_bootinfo(BTINFO_SYMTAB); |
|
if (symtab) { |
|
symtab->ssym += KERNBASE; |
|
symtab->esym += KERNBASE; |
|
ddb_init(symtab->nsym, (int *)symtab->ssym, |
|
(int *)symtab->esym); |
|
} |
|
else |
|
ddb_init(*(int *)&end, ((int *)&end) + 1, esym); |
} |
} |
if (boothowto & RB_KDB) |
if (boothowto & RB_KDB) |
Debugger(); |
Debugger(); |