Use MONEND instead of DVMA_SPACE_START in the "DDB convenience" symbols.

This commit is contained in:
gwr 1998-01-22 23:39:03 +00:00
parent dd049a163c
commit b6be0a1994
2 changed files with 11 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: genassym.c,v 1.40 1997/10/23 02:06:28 gwr Exp $ */
/* $NetBSD: genassym.c,v 1.41 1998/01/22 23:39:04 gwr Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -126,7 +126,6 @@ struct nv assyms[] = {
def1(IC_CLEAR),
/* sun3 control space isms */
def1(CONTEXT_0),
def1(CONTEXT_REG),
def1(CONTEXT_NUM),
def1(SYSTEM_ENAB),
@ -134,10 +133,10 @@ struct nv assyms[] = {
def1(SEGMAP_BASE),
/* sun3 memory map */
def1(DVMA_SPACE_START),
def1(USRSTACK),
def1(MONSTART),
def1(PROM_BASE),
def1(USRSTACK),
def1(MONEND),
/* kernel-isms */
def1(KERNBASE),

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.57 1998/01/02 20:37:28 thorpej Exp $ */
/* $NetBSD: locore.s,v 1.58 1998/01/22 23:39:03 gwr Exp $ */
/*
* Copyright (c) 1994, 1995 Gordon W. Ross
@ -978,13 +978,12 @@ L_delay:
| Define some addresses, mostly so DDB can print useful info.
.globl _C_LABEL(kernbase)
.set _C_LABEL(kernbase),KERNBASE
.globl _C_LABEL(dvma_base)
.set _C_LABEL(dvma_base),DVMA_SPACE_START
.globl _C_LABEL(prom_start)
.set _C_LABEL(prom_start),MONSTART
.globl _C_LABEL(prom_base)
.set _C_LABEL(prom_base),PROM_BASE
| Not using _C_LABEL() here because these symbols are never
| referenced by any C code, and if the leading underscore
| ever goes away, these lines turn into syntax errors...
.set _KERNBASE,KERNBASE
.set _MONSTART,MONSTART
.set _PROM_BASE,PROM_BASE
.set _MONEND,MONEND
|The end!