From b6be0a19945f956f44f9f5a1e350ca25438f5e5b Mon Sep 17 00:00:00 2001 From: gwr Date: Thu, 22 Jan 1998 23:39:03 +0000 Subject: [PATCH] Use MONEND instead of DVMA_SPACE_START in the "DDB convenience" symbols. --- sys/arch/sun3/sun3/genassym.c | 7 +++---- sys/arch/sun3/sun3/locore.s | 17 ++++++++--------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/sys/arch/sun3/sun3/genassym.c b/sys/arch/sun3/sun3/genassym.c index 52a7e86003e1..87d6dbda4160 100644 --- a/sys/arch/sun3/sun3/genassym.c +++ b/sys/arch/sun3/sun3/genassym.c @@ -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), diff --git a/sys/arch/sun3/sun3/locore.s b/sys/arch/sun3/sun3/locore.s index ccc9af270abb..df9949dd26ec 100644 --- a/sys/arch/sun3/sun3/locore.s +++ b/sys/arch/sun3/sun3/locore.s @@ -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!