Express tempsave and disisave addresses using the symbolic names of the

exception handlers which they are `borrowed' from.
This commit is contained in:
kleink 2002-04-22 23:20:08 +00:00
parent 3da37c5b67
commit 0b463cc8f9
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap_subr.S,v 1.19 2002/04/22 18:31:11 kleink Exp $ */
/* $NetBSD: trap_subr.S,v 1.20 2002/04/22 23:20:08 kleink Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -41,8 +41,8 @@
/*
* Data used during primary/secondary traps/interrupts
*/
#define tempsave 0x2e0 /* primary save area for trap handling */
#define disisave 0x3e0 /* primary save area for dsi/isi traps */
#define tempsave EXC_MCHK+0xe0 /* primary save area for trap handling */
#define disisave EXC_DSI+0xe0 /* primary save area for dsi/isi traps */
/*
* XXX Interrupt and spill stacks need to be per-CPU.