=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Set TPIDRURW also on ARMv8-A.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Apr 12 06:45:24 CDT 2016
Module: wine
Branch: stable
Commit: 56648c55cb0182ea72a111dc0e4a2e9fa2803eb2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=56648c55cb0182ea72a111dc0e4a2e9fa2803eb2
Author: André Hentschel <nerv at dawncrow.de>
Date: Thu Feb 25 21:29:26 2016 +0100
ntdll: Set TPIDRURW also on ARMv8-A.
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit b363f386cda116901db126be3f4688c4cc5c481c)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/ntdll/signal_arm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
index 1f6da96..5ee9f45 100644
--- a/dlls/ntdll/signal_arm.c
+++ b/dlls/ntdll/signal_arm.c
@@ -926,7 +926,7 @@ void signal_init_thread( TEB *teb )
init_done = TRUE;
}
-#ifdef __ARM_ARCH_7A__
+#if defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_8A__)
/* Win32/ARM applications expect the TEB pointer to be in the TPIDRURW register. */
__asm__ __volatile__( "mcr p15, 0, %0, c13, c0, 2" : : "r" (teb) );
#endif
More information about the wine-cvs
mailing list