ntdll: Fix usage of ContextFlags on Sparc.

This commit is contained in:
André Hentschel 2011-04-20 21:30:57 +02:00 committed by Alexandre Julliard
parent c7600f8d75
commit 5789311201

View file

@ -71,6 +71,8 @@ static inline int dispatch_signal(unsigned int sig)
*/
static void save_context( CONTEXT *context, ucontext_t *ucontext )
{
context->ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER;
/* Special registers */
context->psr = ucontext->uc_mcontext.gregs[REG_PSR];
context->pc = ucontext->uc_mcontext.gregs[REG_PC];