diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2006-11-05 05:38:19 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2006-11-05 05:38:19 +0000 |
commit | c196511818c0a39d887e6e574ea3303fa1d9c79d (patch) | |
tree | 8236030a7c81264f799627fef658a7640df537ef /sys/arch/sh | |
parent | 7a457fb1b11b22737f1227296ea59ace5e875089 (diff) |
define the bit that sh4 uses for FPU disable.
Diffstat (limited to 'sys/arch/sh')
-rw-r--r-- | sys/arch/sh/include/psl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/include/psl.h b/sys/arch/sh/include/psl.h index 8a45a23a3fd..8a9f4fc7f37 100644 --- a/sys/arch/sh/include/psl.h +++ b/sys/arch/sh/include/psl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: psl.h,v 1.1 2006/10/06 21:02:55 miod Exp $ */ +/* $OpenBSD: psl.h,v 1.2 2006/11/05 05:38:18 drahn Exp $ */ /* $NetBSD: psl.h,v 1.8 2005/12/11 12:18:58 christos Exp $ */ /*- @@ -46,10 +46,10 @@ #define PSL_IMASK 0x000000f0 /* Interrupt Mask bit */ #define PSL_QBIT 0x00000100 /* Q bit */ #define PSL_MBIT 0x00000200 /* M bit */ +#define PSL_FD 0x00008000 /* FPU Disable bit */ #define PSL_BL 0x10000000 /* Exception Block bit */ #define PSL_RB 0x20000000 /* Register Bank bit */ #define PSL_MD 0x40000000 /* Processor Mode bit */ - /* 1 = kernel, 0 = user */ #define PSL_MBO 0x00000000 /* must be one bits */ #define PSL_MBZ 0x8ffffc0c /* must be zero bits */ |