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
a1dfdfaf
Commit
a1dfdfaf
authored
Jan 27, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Implement KeReleaseSpinLockFromDpcLevel().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fbe23bdd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
sync.c
dlls/ntoskrnl.exe/sync.c
+10
-1
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
a1dfdfaf
...
...
@@ -594,7 +594,7 @@
@ stdcall KeReleaseMutex(ptr long)
@ stdcall KeReleaseSemaphore(ptr long long long)
@ stdcall -arch=arm,arm64,x86_64 KeReleaseSpinLock(ptr long)
@ st
ub KeReleaseSpinLockFromDpcLevel
@ st
dcall KeReleaseSpinLockFromDpcLevel(ptr)
@ stub KeRemoveByKeyDeviceQueue
@ stub KeRemoveByKeyDeviceQueueIfBusy
@ stub KeRemoveDeviceQueue
...
...
dlls/ntoskrnl.exe/sync.c
View file @
a1dfdfaf
...
...
@@ -386,7 +386,6 @@ void WINAPI KeInitializeSpinLock( KSPIN_LOCK *lock )
*
lock
=
0
;
}
#ifndef __i386__
static
inline
void
small_pause
(
void
)
{
#ifdef __x86_64__
...
...
@@ -397,6 +396,16 @@ static inline void small_pause(void)
}
/***********************************************************************
* KeReleaseSpinLockFromDpcLevel (NTOSKRNL.EXE.@)
*/
void
WINAPI
KeReleaseSpinLockFromDpcLevel
(
KSPIN_LOCK
*
lock
)
{
TRACE
(
"lock %p.
\n
"
,
lock
);
InterlockedExchangePointer
(
(
void
**
)
lock
,
0
);
}
#ifndef __i386__
/***********************************************************************
* KeReleaseSpinLock (NTOSKRNL.EXE.@)
*/
void
WINAPI
KeReleaseSpinLock
(
KSPIN_LOCK
*
lock
,
KIRQL
irql
)
...
...
include/ddk/wdm.h
View file @
a1dfdfaf
...
...
@@ -1443,6 +1443,7 @@ ULONG WINAPI KeQueryTimeIncrement(void);
LONG
WINAPI
KeReleaseMutex
(
PRKMUTEX
,
BOOLEAN
);
LONG
WINAPI
KeReleaseSemaphore
(
PRKSEMAPHORE
,
KPRIORITY
,
LONG
,
BOOLEAN
);
void
WINAPI
KeReleaseSpinLock
(
KSPIN_LOCK
*
,
KIRQL
);
void
WINAPI
KeReleaseSpinLockFromDpcLevel
(
KSPIN_LOCK
*
);
LONG
WINAPI
KeResetEvent
(
PRKEVENT
);
LONG
WINAPI
KeSetEvent
(
PRKEVENT
,
KPRIORITY
,
BOOLEAN
);
KPRIORITY
WINAPI
KeSetPriorityThread
(
PKTHREAD
,
KPRIORITY
);
...
...
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