Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
11332952
Commit
11332952
authored
Jun 16, 2015
by
André Hentschel
Committed by
Alexandre Julliard
Jun 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Set TPIDRURW inline on ARM.
parent
aa139d3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
16 deletions
+6
-16
signal_arm.c
dlls/ntdll/signal_arm.c
+6
-16
No files found.
dlls/ntdll/signal_arm.c
View file @
11332952
...
...
@@ -912,21 +912,6 @@ void signal_free_thread( TEB *teb )
NtFreeVirtualMemory
(
NtCurrentProcess
(),
(
void
**
)
&
teb
,
&
size
,
MEM_RELEASE
);
}
/**********************************************************************
* set_tpidrurw
*
* Win32/ARM applications expect the TEB pointer to be in the TPIDRURW register.
*/
#ifdef __ARM_ARCH_7A__
extern
void
set_tpidrurw
(
TEB
*
teb
);
__ASM_GLOBAL_FUNC
(
set_tpidrurw
,
"mcr p15, 0, r0, c13, c0, 2
\n\t
"
/* TEB -> TPIDRURW */
"bx lr"
)
#else
void
set_tpidrurw
(
TEB
*
teb
)
{
}
#endif
/**********************************************************************
* signal_init_thread
...
...
@@ -940,7 +925,12 @@ void signal_init_thread( TEB *teb )
pthread_key_create
(
&
teb_key
,
NULL
);
init_done
=
TRUE
;
}
set_tpidrurw
(
teb
);
#ifdef __ARM_ARCH_7A__
/* 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
pthread_setspecific
(
teb_key
,
teb
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment