mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
ntdll: Set TPIDRURW also on ARMv8-A.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3c888a74c5
commit
b363f386cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue