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/ca031d88c5e7
branches: trunk
changeset: 327132:ca031d88c5e7
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 c4323d87a2b0 -r ca031d88c5e7 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 */
- Prev by Date:
[src/trunk]: src/sys/arch/powerpc/include Add cmp{ptr, long, reg}{, l}{, i}
- Next by Date:
[src/trunk]: src/sys/arch/powerpc/include Use uintptr_t for bus_size_t, bus_a...
- Previous by Thread:
[src/trunk]: src/sys/arch/powerpc/include Add cmp{ptr, long, reg}{, l}{, i}
- Next by Thread:
[src/trunk]: src/sys/arch/powerpc/include Use uintptr_t for bus_size_t, bus_a...
- Indexes:
Home |
Main Index |
Thread Index |
Old Index