ntdll: Implement set_cpu_context for ARM64 (try 2)
Martin Storsjö
martin at martin.st
Thu Sep 21 00:32:45 CDT 2017
On Wed, 20 Sep 2017, André Hentschel wrote:
> Signed-off-by: André Hentschel <nerv at dawncrow.de>
> ---
> dlls/ntdll/signal_arm64.c | 41 +++++++++++++++++++++++++++++++++++++----
> 1 file changed, 37 insertions(+), 4 deletions(-)
Now that you're implementing this, I think it'd make sense to complete the
arm64 CONTEXT struct (compared to the win10 sdk); our version is lacking
the float registers (and debug registers) at the end, when compared with
the version of the struct in the public SDK. And contrary to ARM, support
for the float registers is on by default in all toolchains, so there's no
combination where one would be building wine for arm64 where that wouldn't
work.
Our version also defines the X registers slightly differently, the public
SDK uses an union that allows accessing them both via member names and via
an array - although it should end up as the same binary representation. I
haven't sent any patch for bringing this up to date yet since I wasn't
touching this area yet.
// Martin
More information about the wine-devel
mailing list