Commit 06c09fca authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll/tests: Add tests for RtlCaptureContext() and NtGetContextThread() on x86_64.

parent 8e5c11b9
...@@ -311,7 +311,7 @@ __ASM_GLOBAL_FUNC( __chkstk, "ret" ); ...@@ -311,7 +311,7 @@ __ASM_GLOBAL_FUNC( __chkstk, "ret" );
__ASM_GLOBAL_FUNC( RtlCaptureContext, __ASM_GLOBAL_FUNC( RtlCaptureContext,
"pushfq\n\t" "pushfq\n\t"
__ASM_CFI(".cfi_adjust_cfa_offset 8\n\t") __ASM_CFI(".cfi_adjust_cfa_offset 8\n\t")
"movl $0x001000f,0x30(%rcx)\n\t" /* context->ContextFlags */ "movl $0x10000f,0x30(%rcx)\n\t" /* context->ContextFlags */
"stmxcsr 0x34(%rcx)\n\t" /* context->MxCsr */ "stmxcsr 0x34(%rcx)\n\t" /* context->MxCsr */
"movw %cs,0x38(%rcx)\n\t" /* context->SegCs */ "movw %cs,0x38(%rcx)\n\t" /* context->SegCs */
"movw %ds,0x3a(%rcx)\n\t" /* context->SegDs */ "movw %ds,0x3a(%rcx)\n\t" /* context->SegDs */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment