Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc Express tempsave and disisave addre...



details:   https://anonhg.NetBSD.org/src/rev/2b2c74c14f3a
branches:  trunk
changeset: 525985:2b2c74c14f3a
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Apr 22 23:20:08 2002 +0000

description:
Express tempsave and disisave addresses using the symbolic names of the
exception handlers which they are `borrowed' from.

diffstat:

 sys/arch/powerpc/powerpc/trap_subr.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 38a62f16d46d -r 2b2c74c14f3a sys/arch/powerpc/powerpc/trap_subr.S
--- a/sys/arch/powerpc/powerpc/trap_subr.S      Mon Apr 22 21:17:48 2002 +0000
+++ b/sys/arch/powerpc/powerpc/trap_subr.S      Mon Apr 22 23:20:08 2002 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index