diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-26 19:34:42 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-02-26 19:34:42 +0000 |
commit | 70aa415308f91891bc3dfa7e140f230df4b0b879 (patch) | |
tree | 3b1aba07de09435c7fffb2eb082d83b8a3ffb9db /sys/arch/sh/include | |
parent | 4b0afb1b06b128c9bc45e343f1391da6d37ab299 (diff) |
FPU disabled bit on SH4 is not a ``must be zero'' bit, but userland shall not
be allowed to fiddle with it anyway.
Diffstat (limited to 'sys/arch/sh/include')
-rw-r--r-- | sys/arch/sh/include/psl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sh/include/psl.h b/sys/arch/sh/include/psl.h index 8a9f4fc7f37..55f0b802193 100644 --- a/sys/arch/sh/include/psl.h +++ b/sys/arch/sh/include/psl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psl.h,v 1.2 2006/11/05 05:38:18 drahn Exp $ */ +/* $OpenBSD: psl.h,v 1.3 2007/02/26 19:34:41 miod Exp $ */ /* $NetBSD: psl.h,v 1.8 2005/12/11 12:18:58 christos Exp $ */ /*- @@ -52,10 +52,10 @@ #define PSL_MD 0x40000000 /* Processor Mode bit */ #define PSL_MBO 0x00000000 /* must be one bits */ -#define PSL_MBZ 0x8ffffc0c /* must be zero bits */ +#define PSL_MBZ 0x8fff7c0c /* must be zero bits */ #define PSL_USERSET 0 -#define PSL_USERSTATIC (PSL_BL|PSL_RB|PSL_MD|PSL_IMASK|PSL_MBO|PSL_MBZ) +#define PSL_USERSTATIC (PSL_BL|PSL_RB|PSL_MD|PSL_IMASK|PSL_FD|PSL_MBO|PSL_MBZ) #define KERNELMODE(sr) ((sr) & PSL_MD) |