mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch to implement stub for ntoskrnl.IoGetAttachedDeviceReference.
This commit is contained in:
parent
865083f801
commit
cb402d63de
@ -38,7 +38,7 @@ Wine. All those differences are also documented on the
|
||||
Included bug fixes and improvements
|
||||
===================================
|
||||
|
||||
**Bugfixes and features included in the next upcoming release [16]:**
|
||||
**Bugfixes and features included in the next upcoming release [17]:**
|
||||
|
||||
* Add implementation for CreateThreadpool ([Wine Bug #35192](https://bugs.winehq.org/show_bug.cgi?id=35192))
|
||||
* Add library override instead of closing winecfg when pressing ENTER over the combobox ([Wine Bug #12804](https://bugs.winehq.org/show_bug.cgi?id=12804))
|
||||
@ -49,6 +49,7 @@ Included bug fixes and improvements
|
||||
* Fix graphical corruption in FarCry 3 with NVIDIA drivers ([Wine Bug #35062](https://bugs.winehq.org/show_bug.cgi?id=35062))
|
||||
* Fix mouse jittering in Planetside 2 ([Wine Bug #32913](https://bugs.winehq.org/show_bug.cgi?id=32913))
|
||||
* Implement additional stubs for vcomp dlls ([Wine Bug #31640](https://bugs.winehq.org/show_bug.cgi?id=31640))
|
||||
* Implement stub for ntoskrnl.IoGetAttachedDeviceReference
|
||||
* Implement threadpool timers ([Wine Bug #37306](https://bugs.winehq.org/show_bug.cgi?id=37306))
|
||||
* Implement threadpool wait objects
|
||||
* Implement threadpool work items ([Wine Bug #32531](https://bugs.winehq.org/show_bug.cgi?id=32531))
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -14,6 +14,7 @@ wine-staging (1.7.36) UNRELEASED; urgency=low
|
||||
* Added patch to add performance library registry keys needed by MS SQL Server Management Studio Express 2008 R2.
|
||||
* Added patch to implement NVIDIA video encoder library (nvencodeapi).
|
||||
* Added patch to make nvcuda.dll compatible with CUDA 7.0.
|
||||
* Added patch to implement stub for ntoskrnl.IoGetAttachedDeviceReference.
|
||||
* Removed patch to add additional tests for SLGetWindowsInformationDWORD (accepted upstream).
|
||||
* Removed patch to avoid filling KdHelp structure for usermode applications (accepted upstream).
|
||||
-- Sebastian Lackner <sebastian@fds-team.de> Sun, 25 Jan 2015 05:58:36 +0100
|
||||
|
@ -0,0 +1,59 @@
|
||||
From d7911933e870e44358ae93c81f13020af49fecf4 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Morozov <amorozov@etersoft.ru>
|
||||
Date: Thu, 29 Jan 2015 23:23:13 +0100
|
||||
Subject: ntoskrnl.exe: Add stub for IoGetAttachedDeviceReference.
|
||||
|
||||
---
|
||||
dlls/ntoskrnl.exe/ntoskrnl.c | 9 +++++++++
|
||||
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
|
||||
include/ddk/wdm.h | 1 +
|
||||
3 files changed, 11 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
index cdc5305..edd83de 100644
|
||||
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
|
||||
@@ -837,6 +837,15 @@ NTSTATUS WINAPI IofCallDriver( DEVICE_OBJECT *device, IRP *irp )
|
||||
return IoCallDriver( device, irp );
|
||||
}
|
||||
|
||||
+/***********************************************************************
|
||||
+ * IoGetAttachedDeviceReference (NTOSKRNL.EXE.@)
|
||||
+ */
|
||||
+PDEVICE_OBJECT WINAPI IoGetAttachedDeviceReference(PDEVICE_OBJECT obj)
|
||||
+{
|
||||
+ FIXME("(%p): stub\n", obj);
|
||||
+
|
||||
+ return obj;
|
||||
+}
|
||||
|
||||
/***********************************************************************
|
||||
* IoGetRelatedDeviceObject (NTOSKRNL.EXE.@)
|
||||
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
index 11d1c62..52c7fbf 100644
|
||||
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
|
||||
@@ -374,7 +374,7 @@
|
||||
@ stdcall IoFreeMdl(ptr)
|
||||
@ stub IoFreeWorkItem
|
||||
@ stdcall IoGetAttachedDevice(ptr)
|
||||
-@ stub IoGetAttachedDeviceReference
|
||||
+@ stdcall IoGetAttachedDeviceReference(ptr)
|
||||
@ stub IoGetBaseFileSystemDeviceObject
|
||||
@ stub IoGetBootDiskInformation
|
||||
@ stdcall IoGetConfigurationInformation()
|
||||
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
|
||||
index e4f693a..121ca45 100644
|
||||
--- a/include/ddk/wdm.h
|
||||
+++ b/include/ddk/wdm.h
|
||||
@@ -1208,6 +1208,7 @@ void WINAPI IoDeleteDevice(DEVICE_OBJECT*);
|
||||
void WINAPI IoDeleteDriver(DRIVER_OBJECT*);
|
||||
NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*);
|
||||
void WINAPI IoFreeIrp(IRP*);
|
||||
+PDEVICE_OBJECT WINAPI IoGetAttachedDeviceReference(PDEVICE_OBJECT);
|
||||
PEPROCESS WINAPI IoGetCurrentProcess(void);
|
||||
NTSTATUS WINAPI IoGetDeviceInterfaces(const GUID*,PDEVICE_OBJECT,ULONG,PWSTR*);
|
||||
NTSTATUS WINAPI IoGetDeviceObjectPointer(UNICODE_STRING*,ACCESS_MASK,PFILE_OBJECT*,PDEVICE_OBJECT*);
|
||||
--
|
||||
2.2.2
|
||||
|
1
patches/ntoskrnl-IoGetAttachedDeviceReference/definition
Normal file
1
patches/ntoskrnl-IoGetAttachedDeviceReference/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: Implement stub for ntoskrnl.IoGetAttachedDeviceReference
|
@ -137,6 +137,7 @@ patch_enable_all ()
|
||||
enable_ntdll_WinSqm="$1"
|
||||
enable_ntoskrnl_DriverTest="$1"
|
||||
enable_ntoskrnl_Emulator="$1"
|
||||
enable_ntoskrnl_IoGetAttachedDeviceReference="$1"
|
||||
enable_ntoskrnl_KeWaitForMultipleObjects="$1"
|
||||
enable_nvapi_Stub_DLL="$1"
|
||||
enable_nvcuda_CUDA_Support="$1"
|
||||
@ -438,6 +439,9 @@ patch_enable ()
|
||||
ntoskrnl-Emulator)
|
||||
enable_ntoskrnl_Emulator="$2"
|
||||
;;
|
||||
ntoskrnl-IoGetAttachedDeviceReference)
|
||||
enable_ntoskrnl_IoGetAttachedDeviceReference="$2"
|
||||
;;
|
||||
ntoskrnl-KeWaitForMultipleObjects)
|
||||
enable_ntoskrnl_KeWaitForMultipleObjects="$2"
|
||||
;;
|
||||
@ -2328,6 +2332,18 @@ if test "$enable_ntoskrnl_Emulator" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset ntoskrnl-IoGetAttachedDeviceReference
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/ntoskrnl.exe/ntoskrnl.c, dlls/ntoskrnl.exe/ntoskrnl.exe.spec, include/ddk/wdm.h
|
||||
# |
|
||||
if test "$enable_ntoskrnl_IoGetAttachedDeviceReference" -eq 1; then
|
||||
patch_apply ntoskrnl-IoGetAttachedDeviceReference/0001-ntoskrnl.exe-Add-stub-for-IoGetAttachedDeviceReferen.patch
|
||||
(
|
||||
echo '+ { "Alexander Morozov", "ntoskrnl.exe: Add stub for IoGetAttachedDeviceReference.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset ntoskrnl-KeWaitForMultipleObjects
|
||||
# |
|
||||
# | Modified files:
|
||||
|
Loading…
Reference in New Issue
Block a user