From 7a22c14e213590a9e2e1ab36ddfbcec3054726f4 Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 8 Apr 2003 22:37:52 +0000 Subject: [PATCH] Don't use NBPG. --- sys/arch/alpha/alpha/debug.s | 9 +++++---- sys/arch/alpha/alpha/genassym.cf | 4 +--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/sys/arch/alpha/alpha/debug.s b/sys/arch/alpha/alpha/debug.s index 013bd4c249a5..da4fdbd431d4 100644 --- a/sys/arch/alpha/alpha/debug.s +++ b/sys/arch/alpha/alpha/debug.s @@ -1,4 +1,4 @@ -/* $NetBSD: debug.s,v 1.8 2001/05/30 15:24:27 lukem Exp $ */ +/* $NetBSD: debug.s,v 1.9 2003/04/08 22:37:52 thorpej Exp $ */ /*- * Copyright (c) 1999, 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -__KERNEL_RCSID(6, "$NetBSD: debug.s,v 1.8 2001/05/30 15:24:27 lukem Exp $") +__KERNEL_RCSID(6, "$NetBSD: debug.s,v 1.9 2003/04/08 22:37:52 thorpej Exp $") #include "opt_kgdb.h" @@ -51,8 +51,9 @@ inc6: .stabs __FILE__,132,0,0,inc6; .loc 1 __LINE__ /* * Debugger stack. */ -BSS(debug_stack_bottom, NBPG) -ABS(debug_stack_top, debug_stack_bottom + NBPG) +#define DEBUG_STACK_SIZE 8192 +BSS(debug_stack_bottom, DEBUG_STACK_SIZE) +ABS(debug_stack_top, debug_stack_bottom + DEBUG_STACK_SIZE) /* * alpha_debug: diff --git a/sys/arch/alpha/alpha/genassym.cf b/sys/arch/alpha/alpha/genassym.cf index 32d0a3ad126d..542a20388107 100644 --- a/sys/arch/alpha/alpha/genassym.cf +++ b/sys/arch/alpha/alpha/genassym.cf @@ -1,4 +1,4 @@ -# $NetBSD: genassym.cf,v 1.7 2003/01/17 22:11:17 thorpej Exp $ +# $NetBSD: genassym.cf,v 1.8 2003/04/08 22:37:52 thorpej Exp $ # # Copyright (c) 1994, 1995 Gordon W. Ross @@ -56,8 +56,6 @@ include include # general constants -define NBPG NBPG -define PGSHIFT PGSHIFT define VM_MAX_ADDRESS VM_MAX_ADDRESS # Register offsets, for stack frames.