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
fa6f56b3
Commit
fa6f56b3
authored
Jan 23, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal: Implement KeReleaseSpinLock().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
92b047e7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
hal.c
dlls/hal/hal.c
+9
-2
hal.spec
dlls/hal/hal.spec
+1
-1
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/hal/hal.c
View file @
fa6f56b3
...
...
@@ -26,6 +26,7 @@
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "excpt.h"
#include "ddk/ntddk.h"
...
...
@@ -76,9 +77,15 @@ KIRQL WINAPI DECLSPEC_HIDDEN __regs_KfAcquireSpinLock(PKSPIN_LOCK SpinLock)
}
DEFINE_FASTCALL2_ENTRYPOINT
(
KfReleaseSpinLock
)
VOID
WINAPI
DECLSPEC_HIDDEN
__regs_KfReleaseSpinLock
(
PKSPIN_LOCK
SpinLock
,
KIRQL
NewIrql
)
void
WINAPI
DECLSPEC_HIDDEN
__regs_KfReleaseSpinLock
(
KSPIN_LOCK
*
lock
,
KIRQL
irql
)
{
FIXME
(
"(%p %u) stub!
\n
"
,
SpinLock
,
NewIrql
);
KeReleaseSpinLock
(
lock
,
irql
);
}
void
WINAPI
KeReleaseSpinLock
(
KSPIN_LOCK
*
lock
,
KIRQL
irql
)
{
TRACE
(
"lock %p, irql %u.
\n
"
,
lock
,
irql
);
InterlockedExchangePointer
(
(
void
**
)
lock
,
0
);
}
#endif
/* __i386__ */
...
...
dlls/hal/hal.spec
View file @
fa6f56b3
...
...
@@ -76,7 +76,7 @@
@ stub KeRaiseIrql
@ stub KeRaiseIrqlToDpcLevel
@ stub KeRaiseIrqlToSynchLevel
@ stdcall -arch=i386 KeReleaseSpinLock(ptr long)
ntoskrnl.exe.KeReleaseSpinLock
@ stdcall -arch=i386 KeReleaseSpinLock(ptr long)
@ stub KeStallExecutionProcessor
@ stub READ_PORT_BUFFER_UCHAR
@ stub READ_PORT_BUFFER_ULONG
...
...
include/ddk/wdm.h
View file @
fa6f56b3
...
...
@@ -1434,6 +1434,7 @@ void WINAPI KeQueryTickCount(LARGE_INTEGER*);
ULONG
WINAPI
KeQueryTimeIncrement
(
void
);
LONG
WINAPI
KeReleaseMutex
(
PRKMUTEX
,
BOOLEAN
);
LONG
WINAPI
KeReleaseSemaphore
(
PRKSEMAPHORE
,
KPRIORITY
,
LONG
,
BOOLEAN
);
void
WINAPI
KeReleaseSpinLock
(
KSPIN_LOCK
*
,
KIRQL
);
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