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 mcontext32_t
details: https://anonhg.NetBSD.org/src/rev/5ff0cb4f1c5b
branches: trunk
changeset: 793872:5ff0cb4f1c5b
user: matt <matt%NetBSD.org@localhost>
date: Fri Feb 28 05:27:05 2014 +0000
description:
Add mcontext32_t
diffstat:
sys/arch/powerpc/include/mcontext.h | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r b3d4f9acc310 -r 5ff0cb4f1c5b sys/arch/powerpc/include/mcontext.h
--- a/sys/arch/powerpc/include/mcontext.h Fri Feb 28 05:26:23 2014 +0000
+++ b/sys/arch/powerpc/include/mcontext.h Fri Feb 28 05:27:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.14 2012/09/11 00:15:19 matt Exp $ */
+/* $NetBSD: mcontext.h,v 1.15 2014/02/28 05:27:05 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -112,6 +112,17 @@
__vrf_t __vrf; /* Vector Register File */
} mcontext_t;
+#if defined(_LP64)
+typedef int __greg32_t;
+typedef __greg32_t __gregset32_t[_NGREG];
+
+typedef struct {
+ __gregset32_t __gregs; /* General Purpose Register set */
+ __fpregset_t __fpregs; /* Floating Point Register set */
+ __vrf_t __vrf; /* Vector Register File */
+} mcontext32_t;
+#endif
+
/* Machine-dependent uc_flags */
#define _UC_POWERPC_VEC 0x00010000 /* Vector Register File valid */
#define _UC_POWERPC_SPE 0x00020000 /* Vector Register File valid */
Home |
Main Index |
Thread Index |
Old Index