ntdll: Fix CONTEXT_ARM in RtlCaptureContext.

This commit is contained in:
André Hentschel 2015-06-14 23:25:27 +02:00 committed by Alexandre Julliard
parent cd258bef79
commit bef85a14f6
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ __ASM_GLOBAL_FUNC( __chkstk, "bx lr" )
__ASM_STDCALL_FUNC( RtlCaptureContext, 4,
".arm\n\t"
"stmfd SP!, {r1}\n\t"
"mov r1, #0x40\n\t" /* CONTEXT_ARM */
"mov r1, #0x0200000\n\t"/* CONTEXT_ARM */
"add r1, r1, #0x3\n\t" /* CONTEXT_FULL */
"str r1, [r0]\n\t" /* context->ContextFlags */
"ldmfd SP!, {r1}\n\t"