Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/vax/vax Pull up revision 1.51-1.52 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/580cb5b43018
branches:  netbsd-1-5
changeset: 488854:580cb5b43018
user:      ragge <ragge%NetBSD.org@localhost>
date:      Wed Aug 02 20:01:54 2000 +0000

description:
Pull up revision 1.51-1.52 (requested by ragge):
This fixes a bug where the SPT could be trashed if a copy* routine
were called before the first swtch().

diffstat:

 sys/arch/vax/vax/subr.s |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1f447de1d029 -r 580cb5b43018 sys/arch/vax/vax/subr.s
--- a/sys/arch/vax/vax/subr.s   Wed Aug 02 19:42:23 2000 +0000
+++ b/sys/arch/vax/vax/subr.s   Wed Aug 02 20:01:54 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr.s,v 1.48 2000/06/10 14:59:38 ragge Exp $     */
+/*     $NetBSD: subr.s,v 1.48.2.1 2000/08/02 20:01:54 ragge Exp $      */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -65,6 +65,7 @@
        addl3   $USPACE,_proc0paddr,r0          # Get kernel stack top
        mtpr    r0,$PR_KSP                      # put in IPR KSP
        movl    r0,_Sysmap                      # SPT start addr after KSP
+       movl    _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