diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-03-12 22:56:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-03-12 22:56:18 +0000 |
commit | 50bb9854b201d4a26742d3916ef4ce0500cc6ddb (patch) | |
tree | 33902b7c9f03d32a192856725ba032f65cefcdb8 | |
parent | a7e1eed1c53b6b405afe9f21111727c1954e7265 (diff) |
/dev/ksyms support.
-rw-r--r-- | sys/arch/mvme88k/mvme88k/locore.S | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/mvme88k/locore.S b/sys/arch/mvme88k/mvme88k/locore.S index f96dc343aee..f63c6653155 100644 --- a/sys/arch/mvme88k/mvme88k/locore.S +++ b/sys/arch/mvme88k/mvme88k/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.13 2001/03/09 05:44:41 smurph Exp $ */ +/* $OpenBSD: locore.S,v 1.14 2001/03/12 22:56:17 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -62,11 +62,12 @@ #endif /* ASSEMBLER */ #include "assym.s" -#include "machine/asm.h" -#include "machine/trap.h" -#include "machine/m88100.h" -#include "machine/psl.h" -#include "machine/vmparam.h" /* INTSTACK_SIZE */ +#include "ksyms.h" +#include <machine/asm.h> +#include <machine/trap.h> +#include <machine/m88100.h> +#include <machine/psl.h> +#include <machine/vmparam.h> /* INTSTACK_SIZE */ /***********************************************************************/ @@ -153,8 +154,10 @@ LABEL(_start_text) /* This is the *real* start upon poweron or reset */ st r3, r13, lo16(_bootaddr) or.u r13, r0, hi16(_first_addr) st r4, r13, lo16(_first_addr) +#if defined(DDB) || NKSYMS > 0 or.u r13, r0, hi16(_esym) st r4, r13, lo16(_esym) +#endif or.u r13, r0, hi16(_miniroot) st r5, r13, lo16(_miniroot) or.u r13, r0, hi16(_bootdev) @@ -474,11 +477,11 @@ estack0: _kstack: word UADDR -#ifdef DDB +#if defined(DDB) || NKSYMS > 0 global _esym _esym: word 0 -#endif /* DDB */ +#endif /* DDB || NKSYMS > 0 */ global _intiobase, _intiolimit, _extiobase _intiobase: |