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/sh3/include Pull up revision 1.2 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/8e295f8e63bb
branches:  netbsd-1-5
changeset: 491792:8e295f8e63bb
user:      he <he%NetBSD.org@localhost>
date:      Sat May 26 15:27:57 2001 +0000

description:
Pull up revision 1.2 (requested by kleink):
  Validate Status Register passed from userland in sigreturn().

diffstat:

 sys/arch/sh3/include/psl.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 21b9cc085bd3 -r 8e295f8e63bb sys/arch/sh3/include/psl.h
--- a/sys/arch/sh3/include/psl.h        Wed May 23 14:50:04 2001 +0000
+++ b/sys/arch/sh3/include/psl.h        Sat May 26 15:27:57 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.1 1999/09/13 10:31:21 itojun Exp $   */
+/*     $NetBSD: psl.h,v 1.1.12.1 2001/05/26 15:27:57 he Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -57,8 +57,8 @@
 #define        PSL_MBO         0x00000000      /* must be one bits */
 #define        PSL_MBZ         0x8ffffc0c      /* must be zero bits */
 
-#define PSL_USERSET    0
-#define PSL_USERSTATIC    (PSL_BL|PSL_RB|PSL_MD|PSL_IMASK)
+#define PSL_USERSET    0
+#define PSL_USERSTATIC (PSL_BL|PSL_RB|PSL_MD|PSL_IMASK|PSL_MBO|PSL_MBZ)
 
 #ifdef _KERNEL
 #include <machine/intr.h>



Home | Main Index | Thread Index | Old Index