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
eee92591
Commit
eee92591
authored
Jul 28, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Add thread context test for ARM platforms.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
06c09fca
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
signal_arm.c
dlls/ntdll/signal_arm.c
+1
-2
signal_arm64.c
dlls/ntdll/signal_arm64.c
+1
-0
exception.c
dlls/ntdll/tests/exception.c
+0
-0
No files found.
dlls/ntdll/signal_arm.c
View file @
eee92591
...
...
@@ -60,7 +60,6 @@ __ASM_GLOBAL_FUNC( __chkstk, "lsl r4, r4, #2\n\t"
/***********************************************************************
* RtlCaptureContext (NTDLL.@)
*/
/* FIXME: Use the Stack instead of the actual register values */
__ASM_STDCALL_FUNC
(
RtlCaptureContext
,
4
,
".arm
\n\t
"
"stmib r0, {r0-r12}
\n\t
"
/* context->R0..R12 */
...
...
@@ -69,7 +68,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
"str r1, [r0]
\n\t
"
/* context->ContextFlags */
"str SP, [r0, #0x38]
\n\t
"
/* context->Sp */
"str LR, [r0, #0x3c]
\n\t
"
/* context->Lr */
"str
PC
, [r0, #0x40]
\n\t
"
/* context->Pc */
"str
LR
, [r0, #0x40]
\n\t
"
/* context->Pc */
"mrs r1, CPSR
\n\t
"
"str r1, [r0, #0x44]
\n\t
"
/* context->Cpsr */
"bx lr"
...
...
dlls/ntdll/signal_arm64.c
View file @
eee92591
...
...
@@ -78,6 +78,7 @@ static inline BOOL is_valid_frame( ULONG_PTR frame )
* RtlCaptureContext (NTDLL.@)
*/
__ASM_STDCALL_FUNC
(
RtlCaptureContext
,
8
,
"str x0, [x0, #0x8]
\n\t
"
/* context->X0 */
"stp x1, x2, [x0, #0x10]
\n\t
"
/* context->X1,X2 */
"stp x3, x4, [x0, #0x20]
\n\t
"
/* context->X3,X4 */
"stp x5, x6, [x0, #0x30]
\n\t
"
/* context->X5,X6 */
...
...
dlls/ntdll/tests/exception.c
View file @
eee92591
This diff is collapsed.
Click to expand it.
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