Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Add AltiVec VEC bit.



details:   https://anonhg.NetBSD.org/src/rev/79065983f7e3
branches:  trunk
changeset: 499413:79065983f7e3
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Nov 19 19:52:37 2000 +0000

description:
Add AltiVec VEC bit.

diffstat:

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

diffs (22 lines):

diff -r f8b756385b80 -r 79065983f7e3 sys/arch/powerpc/include/psl.h
--- a/sys/arch/powerpc/include/psl.h    Sun Nov 19 19:18:19 2000 +0000
+++ b/sys/arch/powerpc/include/psl.h    Sun Nov 19 19:52:37 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: psl.h,v 1.4 2000/02/13 10:25:07 tsubai Exp $   */
+/*     $NetBSD: psl.h,v 1.5 2000/11/19 19:52:37 matt Exp $     */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -38,10 +38,11 @@
  *
  * The PowerPC 601 does not implement the following bits:
  *
- *     POW, ILE, BE, RI, LE[*]
+ *     VEC, POW, ILE, BE, RI, LE[*]
  *
  * [*] Little-endian mode on the 601 is implemented in the HID0 register.
  */
+#define        PSL_VEC         0x02000000      /* AltiVec vector unit available */
 #define        PSL_POW         0x00040000      /* power management */
 #define        PSL_ILE         0x00010000      /* interrupt endian mode (1 == le) */
 #define        PSL_EE          0x00008000      /* external interrupt enable */



Home | Main Index | Thread Index | Old Index