Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/include Add sh4 PSL_FD - FPU disable bit.



details:   https://anonhg.NetBSD.org/src/rev/eb93b9772819
branches:  trunk
changeset: 761414:eb93b9772819
user:      uwe <uwe%NetBSD.org@localhost>
date:      Wed Jan 26 19:07:42 2011 +0000

description:
Add sh4 PSL_FD - FPU disable bit.

diffstat:

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

diffs (17 lines):

diff -r c90c49cae434 -r eb93b9772819 sys/arch/sh3/include/psl.h
--- a/sys/arch/sh3/include/psl.h        Wed Jan 26 18:48:57 2011 +0000
+++ b/sys/arch/sh3/include/psl.h        Wed Jan 26 19:07:42 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.10 2008/01/04 20:10:12 uwe Exp $     */
+/*     $NetBSD: psl.h,v 1.11 2011/01/26 19:07:42 uwe Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -45,6 +45,7 @@
 #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 */



Home | Main Index | Thread Index | Old Index