Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Fix bug that trashed the SPT if any copy* f...
details: https://anonhg.NetBSD.org/src/rev/ca96e5b98ec8
branches: trunk
changeset: 495641:ca96e5b98ec8
user: ragge <ragge%NetBSD.org@localhost>
date: Wed Aug 02 12:13:22 2000 +0000
description:
Fix bug that trashed the SPT if any copy* function were used before
the first swtch().
diffstat:
sys/arch/vax/vax/subr.s | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r b80b25187282 -r ca96e5b98ec8 sys/arch/vax/vax/subr.s
--- a/sys/arch/vax/vax/subr.s Wed Aug 02 12:07:12 2000 +0000
+++ b/sys/arch/vax/vax/subr.s Wed Aug 02 12:13:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr.s,v 1.51 2000/07/19 18:15:03 matt Exp $ */
+/* $NetBSD: subr.s,v 1.52 2000/08/02 12:13:22 ragge Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -115,6 +115,7 @@
addl3 $USPACE,_C_LABEL(proc0paddr),r0 # Get kernel stack top
mtpr r0,$PR_KSP # put in IPR KSP
movl r0,_C_LABEL(Sysmap) # SPT start addr after KSP
+ movl _C_LABEL(proc0paddr),r0 # get PCB virtual address
movab IFTRAP(r0),4(r0) # Save trap address in ESP
mtpr 4(r0),$PR_ESP # Put it in ESP also
Home |
Main Index |
Thread Index |
Old Index