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 G4 specific exceptions (include...



details:   https://anonhg.NetBSD.org/src/rev/df28392e2d7b
branches:  trunk
changeset: 499420:df28392e2d7b
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Nov 19 20:48:20 2000 +0000

description:
Add G4 specific exceptions (include AltiVec).

diffstat:

 sys/arch/powerpc/include/trap.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 4619e58b4900 -r df28392e2d7b sys/arch/powerpc/include/trap.h
--- a/sys/arch/powerpc/include/trap.h   Sun Nov 19 20:41:04 2000 +0000
+++ b/sys/arch/powerpc/include/trap.h   Sun Nov 19 20:48:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.h,v 1.3 2000/05/25 21:10:14 is Exp $      */
+/*     $NetBSD: trap.h,v 1.4 2000/11/19 20:48:20 matt Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -47,7 +47,12 @@
 #define        EXC_TRC         0x0d00          /* Trace */
 #define        EXC_FPA         0x0e00          /* Floating-point Assist */
 
-/* The following are only available on 604: */
+/* The following are only available on 7400(G4): */
+#define        EXC_VEC         0x0f20          /* AltiVec Unavailable */
+#define        EXC_VECAST      0x1600          /* AltiVec Assist */
+#define        EXC_VEC         0x1700          /* Thermal Management Interrupt */
+
+/* The following are only available on 604/750/7400: */
 #define        EXC_PERF        0x0f00          /* Performance Monitoring */
 #define        EXC_BPT         0x1300          /* Instruction Breakpoint */
 #define        EXC_SMI         0x1400          /* System Managment Interrupt */



Home | Main Index | Thread Index | Old Index