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
24721ecc
Commit
24721ecc
authored
Feb 27, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use the fastcall flag for RtlInterlockedPushListSList.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9c9efd70
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
13 deletions
+10
-13
api-ms-win-core-interlocked-l1-1-0.spec
...nterlocked-l1-1-0/api-ms-win-core-interlocked-l1-1-0.spec
+1
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-1
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
rtl.c
dlls/ntdll/rtl.c
+6
-9
No files found.
dlls/api-ms-win-core-interlocked-l1-1-0/api-ms-win-core-interlocked-l1-1-0.spec
View file @
24721ecc
...
...
@@ -8,5 +8,5 @@
@ stdcall -arch=i386 InterlockedIncrement(ptr) kernel32.InterlockedIncrement
@ stdcall InterlockedPopEntrySList(ptr) kernel32.InterlockedPopEntrySList
@ stdcall InterlockedPushEntrySList(ptr ptr) kernel32.InterlockedPushEntrySList
@ stdcall -
norelay
InterlockedPushListSList(ptr ptr ptr long) kernel32.InterlockedPushListSList
@ stdcall -
fastcall
InterlockedPushListSList(ptr ptr ptr long) kernel32.InterlockedPushListSList
@ stdcall QueryDepthSList(ptr) kernel32.QueryDepthSList
dlls/kernel32/kernel32.spec
View file @
24721ecc
...
...
@@ -961,7 +961,7 @@
@ stdcall -arch=i386 InterlockedIncrement(ptr)
@ stdcall InterlockedPopEntrySList(ptr) ntdll.RtlInterlockedPopEntrySList
@ stdcall InterlockedPushEntrySList(ptr ptr) ntdll.RtlInterlockedPushEntrySList
@ stdcall -
norelay
InterlockedPushListSList(ptr ptr ptr long) ntdll.RtlInterlockedPushListSList
@ stdcall -
fastcall
InterlockedPushListSList(ptr ptr ptr long) ntdll.RtlInterlockedPushListSList
@ stdcall InterlockedPushListSListEx(ptr ptr ptr long) ntdll.RtlInterlockedPushListSListEx
@ stub InvalidateConsoleDIBits
@ stdcall InvalidateNLSCache()
...
...
dlls/kernelbase/kernelbase.spec
View file @
24721ecc
...
...
@@ -821,7 +821,7 @@
@ stdcall -arch=i386 InterlockedIncrement(ptr) kernel32.InterlockedIncrement
@ stdcall InterlockedPopEntrySList(ptr) kernel32.InterlockedPopEntrySList
@ stdcall InterlockedPushEntrySList(ptr ptr) kernel32.InterlockedPushEntrySList
@ stdcall -
norelay
InterlockedPushListSList(ptr ptr ptr long) kernel32.InterlockedPushListSList
@ stdcall -
fastcall
InterlockedPushListSList(ptr ptr ptr long) kernel32.InterlockedPushListSList
@ stdcall InterlockedPushListSListEx(ptr ptr ptr long) kernel32.InterlockedPushListSListEx
@ stub InternalLcidToName
@ stub Internal_EnumCalendarInfo
...
...
dlls/ntdll/ntdll.spec
View file @
24721ecc
...
...
@@ -730,7 +730,7 @@
@ stdcall RtlInterlockedFlushSList(ptr)
@ stdcall RtlInterlockedPopEntrySList(ptr)
@ stdcall RtlInterlockedPushEntrySList(ptr ptr)
@ stdcall -
norelay
RtlInterlockedPushListSList(ptr ptr ptr long)
@ stdcall -
fastcall
RtlInterlockedPushListSList(ptr ptr ptr long)
@ stdcall RtlInterlockedPushListSListEx(ptr ptr ptr long)
# @ stub RtlInvertRangeList
@ stdcall RtlIpv4AddressToStringA(ptr ptr)
...
...
dlls/ntdll/rtl.c
View file @
24721ecc
...
...
@@ -51,13 +51,15 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
#ifdef __i386__
#define DEFINE_FASTCALL
4_ENTRYPOINT( name
) \
__ASM_
STDCALL_FUNC( name, 16
, \
#define DEFINE_FASTCALL
_WRAPPER(func,args
) \
__ASM_
GLOBAL_FUNC( __fastcall_ ## func
, \
"popl %eax\n\t" \
"pushl %edx\n\t" \
"pushl %ecx\n\t" \
"pushl %eax\n\t" \
"jmp " __ASM_NAME("__regs_") #name __ASM_STDCALL(16))
"jmp " __ASM_NAME(#func) __ASM_STDCALL(args) )
#else
#define DEFINE_FASTCALL_WRAPPER(func,args)
/* nothing */
#endif
/* CRC polynomial 0xedb88320 */
...
...
@@ -1256,14 +1258,9 @@ PSLIST_ENTRY WINAPI RtlInterlockedPushListSListEx(PSLIST_HEADER list, PSLIST_ENT
/*************************************************************************
* RtlInterlockedPushListSList [NTDLL.@]
*/
#ifdef DEFINE_FASTCALL4_ENTRYPOINT
DEFINE_FASTCALL4_ENTRYPOINT
(
RtlInterlockedPushListSList
)
PSLIST_ENTRY
WINAPI
DECLSPEC_HIDDEN
__regs_RtlInterlockedPushListSList
(
PSLIST_HEADER
list
,
PSLIST_ENTRY
first
,
PSLIST_ENTRY
last
,
ULONG
count
)
#else
DEFINE_FASTCALL_WRAPPER
(
RtlInterlockedPushListSList
,
16
)
PSLIST_ENTRY
WINAPI
RtlInterlockedPushListSList
(
PSLIST_HEADER
list
,
PSLIST_ENTRY
first
,
PSLIST_ENTRY
last
,
ULONG
count
)
#endif
{
return
RtlInterlockedPushListSListEx
(
list
,
first
,
last
,
count
);
}
...
...
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