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
1ceec8c7
Commit
1ceec8c7
authored
Jul 15, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Jul 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add support for relay debugging on ARM.
parent
83b60a7b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
relay.c
dlls/ntdll/relay.c
+32
-1
No files found.
dlls/ntdll/relay.c
View file @
1ceec8c7
...
...
@@ -38,7 +38,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
relay
);
#if defined(__i386__) || defined(__x86_64__)
#if defined(__i386__) || defined(__x86_64__)
|| defined(__arm__)
WINE_DECLARE_DEBUG_CHANNEL
(
timestamp
);
...
...
@@ -355,6 +355,37 @@ __ASM_GLOBAL_FUNC( call_entry_point,
__ASM_CFI
(
".cfi_def_cfa %esp,4
\n\t
"
)
__ASM_CFI
(
".cfi_same_value %ebp
\n\t
"
)
"ret"
)
#elif defined(__arm__)
__ASM_GLOBAL_FUNC
(
call_entry_point
,
"push {r4, r5, LR}
\n\t
"
"mov r4, r0
\n\t
"
"mov r5, SP
\n\t
"
"lsl r3, r1, #2
\n\t
"
"cmp r3, #0
\n\t
"
"beq 5f
\n\t
"
"sub SP, SP, r3
\n\t
"
"bic SP, SP, #15
\n\t
"
"1:
\t
sub r3, r3, #4
\n\t
"
"ldr r0, [r2, r3]
\n\t
"
"str r0, [SP, r3]
\n\t
"
"cmp r3, #0
\n\t
"
"bgt 1b
\n\t
"
"cmp r1, #1
\n\t
"
"bgt 2f
\n\t
"
"pop {r0}
\n\t
"
"b 5f
\n\t
"
"2:
\t
cmp r1, #2
\n\t
"
"bgt 3f
\n\t
"
"pop {r0-r1}
\n\t
"
"b 5f
\n\t
"
"3:
\t
cmp r1, #3
\n\t
"
"bgt 4f
\n\t
"
"pop {r0-r2}
\n\t
"
"b 5f
\n\t
"
"4:
\t
pop {r0-r3}
\n\t
"
"5:
\t
blx r4
\n\t
"
"mov SP, r5
\n\t
"
"pop {r4, r5, PC}"
)
#else
__ASM_GLOBAL_FUNC
(
call_entry_point
,
"pushq %rbp
\n\t
"
...
...
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