patch-2.4.19 linux-2.4.19/include/asm-ppc/ptrace.h

Next file: linux-2.4.19/include/asm-ppc/siginfo.h
Previous file: linux-2.4.19/include/asm-ppc/prom.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-ppc/ptrace.h linux-2.4.19/include/asm-ppc/ptrace.h
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.ptrace.h 1.5 05/17/01 18:14:25 cort
+ * BK Id: SCCS/s.ptrace.h 1.8 01/17/02 23:05:50 paulus
  */
 #ifndef _PPC_PTRACE_H
 #define _PPC_PTRACE_H
@@ -103,5 +103,8 @@
 #define PT_FPR31 (PT_FPR0 + 2*31)
 #define PT_FPSCR (PT_FPR0 + 2*32 + 1)
 
-#endif
+/* Get/set all the altivec registers vr0..vr31, vscr, vrsave, in one go */
+#define PTRACE_GETVRREGS	18
+#define PTRACE_SETVRREGS	19
 
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)