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
92b047e7
Commit
92b047e7
authored
Jan 23, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Implement KeInitializeSpinLock().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b6ea5f34
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+0
-8
sync.c
dlls/ntoskrnl.exe/sync.c
+9
-0
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
92b047e7
...
...
@@ -2278,14 +2278,6 @@ PRKTHREAD WINAPI KeGetCurrentThread(void)
}
/***********************************************************************
* KeInitializeSpinLock (NTOSKRNL.EXE.@)
*/
void
WINAPI
KeInitializeSpinLock
(
PKSPIN_LOCK
SpinLock
)
{
FIXME
(
"stub: %p
\n
"
,
SpinLock
);
}
/***********************************************************************
* KeInsertQueue (NTOSKRNL.EXE.@)
*/
LONG
WINAPI
KeInsertQueue
(
PRKQUEUE
Queue
,
PLIST_ENTRY
Entry
)
...
...
dlls/ntoskrnl.exe/sync.c
View file @
92b047e7
...
...
@@ -373,3 +373,12 @@ NTSTATUS WINAPI KeDelayExecutionThread( KPROCESSOR_MODE mode, BOOLEAN alertable,
TRACE
(
"mode %d, alertable %u, timeout %p.
\n
"
,
mode
,
alertable
,
timeout
);
return
NtDelayExecution
(
alertable
,
timeout
);
}
/***********************************************************************
* KeInitializeSpinLock (NTOSKRNL.EXE.@)
*/
void
WINAPI
KeInitializeSpinLock
(
KSPIN_LOCK
*
lock
)
{
TRACE
(
"lock %p.
\n
"
,
lock
);
*
lock
=
0
;
}
include/ddk/wdm.h
View file @
92b047e7
...
...
@@ -1426,6 +1426,7 @@ PKTHREAD WINAPI KeGetCurrentThread(void);
void
WINAPI
KeInitializeEvent
(
PRKEVENT
,
EVENT_TYPE
,
BOOLEAN
);
void
WINAPI
KeInitializeMutex
(
PRKMUTEX
,
ULONG
);
void
WINAPI
KeInitializeSemaphore
(
PRKSEMAPHORE
,
LONG
,
LONG
);
void
WINAPI
KeInitializeSpinLock
(
KSPIN_LOCK
*
);
void
WINAPI
KeInitializeTimerEx
(
PKTIMER
,
TIMER_TYPE
);
void
WINAPI
KeInitializeTimer
(
KTIMER
*
);
void
WINAPI
KeQuerySystemTime
(
LARGE_INTEGER
*
);
...
...
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