summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-05-16 08:00:34 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-05-16 08:00:34 +0000
commit5f1d69ba474cd5d1c74b21b0b5c16dbe2f6c8e1c (patch)
tree1b68bcd20fe270a01731df95c4e8c8570b7c7a51 /sys/arch/powerpc
parentc02d6e1f0fe9f6ecfb99b3d29e08177b87aadf63 (diff)
Add struct fpreg.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/reg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/reg.h b/sys/arch/powerpc/include/reg.h
index 8244be57aac..e7bebf3ee15 100644
--- a/sys/arch/powerpc/include/reg.h
+++ b/sys/arch/powerpc/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.9 2003/06/02 23:27:53 millert Exp $ */
+/* $OpenBSD: reg.h,v 1.10 2006/05/16 08:00:33 kettenis Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -43,7 +43,6 @@
* That array has to look exactly like 'struct reg' though.
*/
-/* this table is set up to match what gdb expects */
struct reg {
u_int32_t gpr[32];
u_int64_t fpr[32];
@@ -56,6 +55,11 @@ struct reg {
u_int32_t mq;
};
+struct fpreg {
+ u_int64_t fpr[32];
+ u_int32_t fpscr;
+};
+
struct vreg {
u_int32_t vreg[32][4];
u_int64_t vscr;