Added patch for ntoskrnl.IoStopTimer stub function.

This commit is contained in:
Sebastian Lackner 2016-05-29 16:43:05 +02:00
parent 5eb1d3c69b
commit 6eb4b11c22
3 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,51 @@
From 36c47ef4d1227db3ac19e0328cbe038cd172df95 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sun, 29 May 2016 15:33:58 +0200
Subject: ntoskrnl.exe: Add IoStopTimer stub.
---
dlls/ntoskrnl.exe/ntoskrnl.c | 13 +++++++++++--
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index a52b5df..97a054b 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -579,9 +579,18 @@ NTSTATUS WINAPI IoInitializeTimer(PDEVICE_OBJECT DeviceObject,
/***********************************************************************
* IoStartTimer (NTOSKRNL.EXE.@)
*/
-void WINAPI IoStartTimer(PDEVICE_OBJECT DeviceObject)
+void WINAPI IoStartTimer( DEVICE_OBJECT *dev )
{
- FIXME( "stub: %p\n", DeviceObject );
+ FIXME( "stub: %p\n", dev );
+}
+
+
+/***********************************************************************
+ * IoStopTimer (NTOSKRNL.EXE.@)
+ */
+void WINAPI IoStopTimer( DEVICE_OBJECT *dev )
+{
+ FIXME( "stub: %p\n", dev );
}
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index b688a3f..1fb6f56 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -463,7 +463,7 @@
@ stub IoStartPacket
@ stdcall IoStartTimer(ptr)
@ stub IoStatisticsLock
-@ stub IoStopTimer
+@ stdcall IoStopTimer(ptr)
@ stub IoSynchronousInvalidateDeviceRelations
@ stub IoSynchronousPageWrite
@ stub IoThreadToProcess
--
2.8.0

View File

@ -9,3 +9,4 @@ Fixes: Add stub for ntoskrnl.ExDeleteResourceLite
Fixes: Add stub for ntoskrnl.Mm{Map,Unmap}LockedPages
Fixes: Implement ntoskrnl.KeInitializeMutex
Fixes: Add stub for ntoskrnl.IoGetDeviceAttachmentBaseRef
Fixes: Add stub for ntoskrnl.IoStopTimer

View File

@ -5518,6 +5518,7 @@ if test "$enable_ntoskrnl_Stubs" -eq 1; then
patch_apply ntoskrnl-Stubs/0009-ntoskrnl.exe-Implement-MmMapLockedPages-and-MmUnmapL.patch
patch_apply ntoskrnl-Stubs/0010-ntoskrnl.exe-Implement-KeInitializeMutex.patch
patch_apply ntoskrnl-Stubs/0011-ntoskrnl.exe-Add-IoGetDeviceAttachmentBaseRef-stub.patch
patch_apply ntoskrnl-Stubs/0012-ntoskrnl.exe-Add-IoStopTimer-stub.patch
(
echo '+ { "Austin English", "ntoskrnl.exe: Add KeWaitForMultipleObjects stub.", 1 },';
echo '+ { "Alexander Morozov", "ntoskrnl.exe: Add stub for IoGetAttachedDeviceReference.", 1 },';
@ -5530,6 +5531,7 @@ if test "$enable_ntoskrnl_Stubs" -eq 1; then
echo '+ { "Christian Costa", "ntoskrnl.exe: Implement MmMapLockedPages and MmUnmapLockedPages.", 1 },';
echo '+ { "Alexander Morozov", "ntoskrnl.exe: Implement KeInitializeMutex.", 1 },';
echo '+ { "Jarkko Korpi", "ntoskrnl.exe: Add IoGetDeviceAttachmentBaseRef stub.", 1 },';
echo '+ { "Michael Müller", "ntoskrnl.exe: Add IoStopTimer stub.", 1 },';
) >> "$patchlist"
fi