[1/2] ntdll: Implement set_cpu_context for ARM64

Alexandre Julliard julliard at winehq.org
Thu Sep 7 11:33:21 CDT 2017


André Hentschel <nerv at dawncrow.de> writes:

> +                   "ldr x30, [x17, #0xf8]\n\t"
> +                   "ldr x16, [x17, #0x100]\n\t"
> +                   "mov sp, x16\n\t"
> +                   "ldr x16, [x17, #0x108]\n\t"
> +                   "br x16\n\t"

You'd also need to restore x16 and x17, this is used in signal handlers.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list