=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Unify the usage of internal SIGCONTEXT type on ARM and ARM64.
Alexandre Julliard
julliard at winehq.org
Mon Mar 11 16:24:52 CDT 2013
Module: wine
Branch: master
Commit: 6e8be236eec5b532d0f1715b376fea07b9bc3e65
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e8be236eec5b532d0f1715b376fea07b9bc3e65
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Mar 10 15:43:12 2013 +0100
ntdll: Unify the usage of internal SIGCONTEXT type on ARM and ARM64.
---
dlls/ntdll/signal_arm.c | 8 ++++----
dlls/ntdll/signal_arm64.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
index bf94b17..ce6a6b6 100644
--- a/dlls/ntdll/signal_arm.c
+++ b/dlls/ntdll/signal_arm.c
@@ -124,7 +124,7 @@ static inline BOOL is_valid_frame( void *frame )
*
* Set the register values from a sigcontext.
*/
-static void save_context( CONTEXT *context, const ucontext_t *sigcontext )
+static void save_context( CONTEXT *context, const SIGCONTEXT *sigcontext )
{
#define C(x) context->R##x = REGn_sig(x,sigcontext)
/* Save normal registers */
@@ -146,7 +146,7 @@ static void save_context( CONTEXT *context, const ucontext_t *sigcontext )
*
* Build a sigcontext from the register values.
*/
-static void restore_context( const CONTEXT *context, ucontext_t *sigcontext )
+static void restore_context( const CONTEXT *context, SIGCONTEXT *sigcontext )
{
#define C(x) REGn_sig(x,sigcontext) = context->R##x
/* Restore normal registers */
@@ -167,7 +167,7 @@ static void restore_context( const CONTEXT *context, ucontext_t *sigcontext )
*
* Set the FPU context from a sigcontext.
*/
-static inline void save_fpu( CONTEXT *context, const ucontext_t *sigcontext )
+static inline void save_fpu( CONTEXT *context, const SIGCONTEXT *sigcontext )
{
FIXME("not implemented\n");
}
@@ -178,7 +178,7 @@ static inline void save_fpu( CONTEXT *context, const ucontext_t *sigcontext )
*
* Restore the FPU context to a sigcontext.
*/
-static inline void restore_fpu( CONTEXT *context, const ucontext_t *sigcontext )
+static inline void restore_fpu( CONTEXT *context, const SIGCONTEXT *sigcontext )
{
FIXME("not implemented\n");
}
diff --git a/dlls/ntdll/signal_arm64.c b/dlls/ntdll/signal_arm64.c
index 01af577..018d84f 100644
--- a/dlls/ntdll/signal_arm64.c
+++ b/dlls/ntdll/signal_arm64.c
@@ -115,7 +115,7 @@ static inline BOOL is_valid_frame( void *frame )
*
* Set the register values from a sigcontext.
*/
-static void save_context( CONTEXT *context, const ucontext_t *sigcontext )
+static void save_context( CONTEXT *context, const SIGCONTEXT *sigcontext )
{
#define C(n) context->X##n = REGn_sig(n,sigcontext)
/* Save normal registers */
@@ -136,7 +136,7 @@ static void save_context( CONTEXT *context, const ucontext_t *sigcontext )
*
* Build a sigcontext from the register values.
*/
-static void restore_context( const CONTEXT *context, ucontext_t *sigcontext )
+static void restore_context( const CONTEXT *context, SIGCONTEXT *sigcontext )
{
#define C(n) REGn_sig(n,sigcontext) = context->X##n
/* Restore normal registers */
@@ -156,7 +156,7 @@ static void restore_context( const CONTEXT *context, ucontext_t *sigcontext )
*
* Set the FPU context from a sigcontext.
*/
-static inline void save_fpu( CONTEXT *context, const ucontext_t *sigcontext )
+static inline void save_fpu( CONTEXT *context, const SIGCONTEXT *sigcontext )
{
FIXME( "Not implemented on ARM64\n" );
}
@@ -167,7 +167,7 @@ static inline void save_fpu( CONTEXT *context, const ucontext_t *sigcontext )
*
* Restore the FPU context to a sigcontext.
*/
-static inline void restore_fpu( CONTEXT *context, const ucontext_t *sigcontext )
+static inline void restore_fpu( CONTEXT *context, const SIGCONTEXT *sigcontext )
{
FIXME( "Not implemented on ARM64\n" );
}
More information about the wine-cvs
mailing list