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
b6599bd7
Commit
b6599bd7
authored
Jun 13, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Add an assembly wrapper to implement the NdrClientCall2 calling convention on x86_64.
parent
379479a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
ndr_stubless.c
dlls/rpcrt4/ndr_stubless.c
+16
-0
No files found.
dlls/rpcrt4/ndr_stubless.c
View file @
b6599bd7
...
...
@@ -913,6 +913,21 @@ done:
return
RetVal
;
}
#ifdef __x86_64__
__ASM_GLOBAL_FUNC
(
NdrClientCall2
,
"movq %r8,0x18(%rsp)
\n\t
"
"movq %r9,0x20(%rsp)
\n\t
"
"leaq 0x18(%rsp),%r8
\n\t
"
"subq $0x28,%rsp
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset 0x28
\n\t
"
)
"call "
__ASM_NAME
(
"ndr_client_call"
)
"
\n\t
"
"addq $0x28,%rsp
\n\t
"
__ASM_CFI
(
".cfi_adjust_cfa_offset -0x28
\n\t
"
)
"ret"
);
#else
/* __x86_64__ */
/***********************************************************************
* NdrClientCall2 [RPCRT4.@]
*/
...
...
@@ -927,6 +942,7 @@ CLIENT_CALL_RETURN WINAPIV NdrClientCall2( PMIDL_STUB_DESC desc, PFORMAT_STRING
return
*
(
CLIENT_CALL_RETURN
*
)
&
ret
;
}
#endif
/* __x86_64__ */
/* Calls a function with the specified arguments, restoring the stack
* properly afterwards as we don't know the calling convention of the
...
...
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