Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c8c5b6e0
Commit
c8c5b6e0
authored
Apr 15, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Apr 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add implementation for RtlCaptureContext on ARM.
parent
4055b7f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
signal_arm.c
dlls/ntdll/signal_arm.c
+11
-5
No files found.
dlls/ntdll/signal_arm.c
View file @
c8c5b6e0
...
...
@@ -160,11 +160,17 @@ static inline void restore_fpu( CONTEXT *context, const ucontext_t *sigcontext )
/***********************************************************************
* RtlCaptureContext (NTDLL.@)
*/
void
WINAPI
RtlCaptureContext
(
CONTEXT
*
context
)
{
FIXME
(
"not implemented
\n
"
);
memset
(
context
,
0
,
sizeof
(
*
context
)
);
}
/* FIXME: Use the Stack instead of the actual register values */
__ASM_STDCALL_FUNC
(
RtlCaptureContext
,
4
,
"stmfd SP!, {r1}
\n\t
"
"mov r1, #0x40
\n\t
"
/* CONTEXT_ARM */
"add r1, r1, #0x3
\n\t
"
/* CONTEXT_FULL */
"str r1, [r0]
\n\t
"
/* context->ContextFlags */
"ldmfd SP!, {r1}
\n\t
"
"stmib r0, {r0-pc}
\n\t
"
/* Push registers to pointer */
"mrs r1, CPSR
\n\t
"
"stmib r0, {r1}
\n\t
"
/* context->Cpsr */
)
/***********************************************************************
...
...
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