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
7d32c24c
Commit
7d32c24c
authored
Apr 15, 2019
by
Gijs Vermeulen
Committed by
Alexandre Julliard
Apr 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add Ex[p]InterlockedFlushSList.
Signed-off-by:
Gijs Vermeulen
<
gijsvrm@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
840af642
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+2
-1
sync.c
dlls/ntoskrnl.exe/sync.c
+10
-0
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
7d32c24c
...
...
@@ -4,7 +4,7 @@
@ stub ExInitializeRundownProtection
@ stub ExInterlockedAddLargeStatistic
@ stub ExInterlockedCompareExchange64
@ st
ub
ExInterlockedFlushSList
@ st
dcall -fastcall -arch=i386 ExInterlockedFlushSList(ptr) NTOSKRNL_
ExInterlockedFlushSList
@ stdcall -fastcall -arch=i386 ExInterlockedPopEntrySList(ptr ptr) NTOSKRNL_ExInterlockedPopEntrySList
@ stdcall -fastcall -arch=i386 ExInterlockedPushEntrySList (ptr ptr ptr) NTOSKRNL_ExInterlockedPushEntrySList
@ stub ExReInitializeRundownProtection
...
...
@@ -27,6 +27,7 @@
@ stub Exfi386InterlockedDecrementLong
@ stub Exfi386InterlockedExchangeUlong
@ stub Exfi386InterlockedIncrementLong
@ stdcall -arch=win64 ExpInterlockedFlushSList(ptr) RtlInterlockedFlushSList
@ stdcall -arch=win64 ExpInterlockedPopEntrySList(ptr) RtlInterlockedPopEntrySList
@ stdcall -arch=win64 ExpInterlockedPushEntrySList(ptr ptr) RtlInterlockedPushEntrySList
@ stub HalExamineMBR
...
...
dlls/ntoskrnl.exe/sync.c
View file @
7d32c24c
...
...
@@ -691,6 +691,16 @@ PSLIST_ENTRY WINAPI NTOSKRNL_ExInterlockedPushEntrySList( PSLIST_HEADER list, PS
/***********************************************************************
* ExInterlockedFlushSList (NTOSKRNL.EXE.@)
*/
DEFINE_FASTCALL1_WRAPPER
(
NTOSKRNL_ExInterlockedFlushSList
)
PSLIST_ENTRY
WINAPI
NTOSKRNL_ExInterlockedFlushSList
(
PSLIST_HEADER
list
)
{
return
RtlInterlockedFlushSList
(
list
);
}
/***********************************************************************
* ExAcquireFastMutexUnsafe (NTOSKRNL.EXE.@)
*/
DEFINE_FASTCALL1_WRAPPER
(
ExAcquireFastMutexUnsafe
)
...
...
include/ddk/wdm.h
View file @
7d32c24c
...
...
@@ -1528,6 +1528,7 @@ ULONG WINAPI ExGetExclusiveWaiterCount(ERESOURCE*);
ULONG
WINAPI
ExGetSharedWaiterCount
(
ERESOURCE
*
);
void
WINAPI
ExInitializeNPagedLookasideList
(
PNPAGED_LOOKASIDE_LIST
,
PALLOCATE_FUNCTION
,
PFREE_FUNCTION
,
ULONG
,
SIZE_T
,
ULONG
,
USHORT
);
NTSTATUS
WINAPI
ExInitializeResourceLite
(
ERESOURCE
*
);
PSLIST_ENTRY
WINAPI
ExInterlockedFlushSList
(
PSLIST_HEADER
);
PSLIST_ENTRY
WINAPI
ExInterlockedPopEntrySList
(
PSLIST_HEADER
,
PKSPIN_LOCK
);
PSLIST_ENTRY
WINAPI
ExInterlockedPushEntrySList
(
PSLIST_HEADER
,
PSLIST_ENTRY
,
PKSPIN_LOCK
);
LIST_ENTRY
*
WINAPI
ExInterlockedRemoveHeadList
(
LIST_ENTRY
*
,
KSPIN_LOCK
*
);
...
...
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