=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Set TPIDRURW also on ARMv8-A.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Feb 26 10:26:46 CST 2016
Module: wine
Branch: master
Commit: b363f386cda116901db126be3f4688c4cc5c481c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b363f386cda116901db126be3f4688c4cc5c481c
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>
---
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