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
e65ebee6
Commit
e65ebee6
authored
Jun 14, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add appropriate stdcall decorations to assembly functions.
parent
d303d9dc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
resource.c
dlls/ntdll/resource.c
+1
-1
rtl.c
dlls/ntdll/rtl.c
+2
-2
signal_i386.c
dlls/ntdll/signal_i386.c
+3
-3
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+2
-2
No files found.
dlls/ntdll/resource.c
View file @
e65ebee6
...
...
@@ -357,7 +357,7 @@ static inline NTSTATUS access_resource( HMODULE hmod, const IMAGE_RESOURCE_DATA_
* "call access_resource" instruction being there.
*/
#ifdef __i386__
__ASM_
GLOBAL_FUNC
(
LdrAccessResource
,
__ASM_
STDCALL_FUNC
(
LdrAccessResource
,
16
,
"pushl %ebp
\n\t
"
"movl %esp, %ebp
\n\t
"
"subl $4,%esp
\n\t
"
...
...
dlls/ntdll/rtl.c
View file @
e65ebee6
...
...
@@ -405,7 +405,7 @@ RtlDeleteSecurityObject( PSECURITY_DESCRIPTOR *ObjectDescriptor )
* Glorified "enter xxxx".
*/
#ifdef __i386__
__ASM_
GLOBAL_FUNC
(
_chkstk
,
__ASM_
STDCALL_FUNC
(
_chkstk
,
0
,
"negl %eax
\n\t
"
"addl %esp,%eax
\n\t
"
"xchgl %esp,%eax
\n\t
"
...
...
@@ -420,7 +420,7 @@ __ASM_GLOBAL_FUNC( _chkstk,
* Glorified "enter xxxx".
*/
#ifdef __i386__
__ASM_
GLOBAL_FUNC
(
_alloca_probe
,
__ASM_
STDCALL_FUNC
(
_alloca_probe
,
0
,
"negl %eax
\n\t
"
"addl %esp,%eax
\n\t
"
"xchgl %esp,%eax
\n\t
"
...
...
dlls/ntdll/signal_i386.c
View file @
e65ebee6
...
...
@@ -2267,17 +2267,17 @@ DEFINE_REGS_ENTRYPOINT( RtlRaiseException, 1 )
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
__ASM_
GLOBAL_FUNC
(
DbgBreakPoint
,
"int $3; ret"
)
__ASM_
STDCALL_FUNC
(
DbgBreakPoint
,
0
,
"int $3; ret"
)
/**********************************************************************
* DbgUserBreakPoint (NTDLL.@)
*/
__ASM_
GLOBAL_FUNC
(
DbgUserBreakPoint
,
"int $3; ret"
)
__ASM_
STDCALL_FUNC
(
DbgUserBreakPoint
,
0
,
"int $3; ret"
)
/**********************************************************************
* NtCurrentTeb (NTDLL.@)
*/
__ASM_
GLOBAL_FUNC
(
NtCurrentTeb
,
".byte 0x64
\n\t
movl 0x18,%eax
\n\t
ret"
)
__ASM_
STDCALL_FUNC
(
NtCurrentTeb
,
0
,
".byte 0x64
\n\t
movl 0x18,%eax
\n\t
ret"
)
/**********************************************************************
...
...
dlls/ntdll/signal_x86_64.c
View file @
e65ebee6
...
...
@@ -1668,11 +1668,11 @@ void __wine_enter_vm86( CONTEXT *context )
/**********************************************************************
* DbgBreakPoint (NTDLL.@)
*/
__ASM_
GLOBAL_FUNC
(
DbgBreakPoint
,
"int $3; ret"
)
__ASM_
STDCALL_FUNC
(
DbgBreakPoint
,
0
,
"int $3; ret"
)
/**********************************************************************
* DbgUserBreakPoint (NTDLL.@)
*/
__ASM_
GLOBAL_FUNC
(
DbgUserBreakPoint
,
"int $3; ret"
)
__ASM_
STDCALL_FUNC
(
DbgUserBreakPoint
,
0
,
"int $3; ret"
)
#endif
/* __x86_64__ */
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