ntdll: Unify the usage of internal SIGCONTEXT type on ARM and ARM64.

This commit is contained in:
André Hentschel 2013-03-10 15:43:12 +01:00 committed by Alexandre Julliard
parent e0f3e6bcf2
commit 6e8be236ee
2 changed files with 8 additions and 8 deletions

View file

@ -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");
}

View file

@ -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" );
}