Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Rather better to have |= to make sure spl...
details: https://anonhg.NetBSD.org/src/rev/faff7356796c
branches: trunk
changeset: 509889:faff7356796c
user: nisimura <nisimura%NetBSD.org@localhost>
date: Tue May 15 06:01:23 2001 +0000
description:
Rather better to have |= to make sure spl0 condition, allowing to preserve
processor model specific SR bit pattern on pcb0 initialization.
diffstat:
sys/arch/mips/mips/vm_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1128073aae24 -r faff7356796c sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c Tue May 15 05:59:13 2001 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c Tue May 15 06:01:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.77 2001/05/11 02:03:01 thorpej Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.78 2001/05/15 06:01:23 nisimura Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.77 2001/05/11 02:03:01 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.78 2001/05/15 06:01:23 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -146,7 +146,7 @@
pcb->pcb_context[8] = (int)f - 24; /* SP */
pcb->pcb_context[0] = (int)func; /* S0 */
pcb->pcb_context[1] = (int)arg; /* S1 */
- pcb->pcb_context[11] = PSL_LOWIPL; /* SR */
+ pcb->pcb_context[11] |= PSL_LOWIPL; /* SR */
}
/*
Home |
Main Index |
Thread Index |
Old Index