ntdll: Fix usage of ContextFlags on Sparc.
This commit is contained in:
parent
c7600f8d75
commit
5789311201
|
@ -71,6 +71,8 @@ static inline int dispatch_signal(unsigned int sig)
|
||||||
*/
|
*/
|
||||||
static void save_context( CONTEXT *context, ucontext_t *ucontext )
|
static void save_context( CONTEXT *context, ucontext_t *ucontext )
|
||||||
{
|
{
|
||||||
|
context->ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER;
|
||||||
|
|
||||||
/* Special registers */
|
/* Special registers */
|
||||||
context->psr = ucontext->uc_mcontext.gregs[REG_PSR];
|
context->psr = ucontext->uc_mcontext.gregs[REG_PSR];
|
||||||
context->pc = ucontext->uc_mcontext.gregs[REG_PC];
|
context->pc = ucontext->uc_mcontext.gregs[REG_PC];
|
||||||
|
|
Loading…
Reference in New Issue