diff --git a/README.md b/README.md index 0d29f1b7..b5654411 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,10 @@ Wine. All those differences are also documented on the Included bug fixes and improvements =================================== -**Bugfixes and features included in the next upcoming release [6]:** +**Bugfixes and features included in the next upcoming release [7]:** * Add stub for ntoskrnl.ExAcquireResourceExclusiveLite +* Add stub for ntoskrnl.ExDeleteResourceLite * Add stub for ntoskrnl.ExReleaseResourceForThread * Avoid race-conditions in NtReadFile() operations with write watches. * Avoid race-conditions with write watches in WS2_async_accept. diff --git a/debian/changelog b/debian/changelog index a9058b6d..01c0e965 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ wine-staging (1.7.37) UNRELEASED; urgency=low * Added patch to implement basic handling of write watches while we're on the signal stack. * Added patch to add stub for ntoskrnl.ExAcquireResourceExclusiveLite. * Added patch to add stub for ntoskrnl.ExReleaseResourceForThread. + * Added patch to add stub for ntoskrnl.ExDeleteResourceLite. * Removed patches for UTF7 support (accepted upstream). * Removed patches for SIO_ADDRESS_LIST_CHANGE ioctl (accepted upstream). -- Sebastian Lackner Sun, 08 Feb 2015 20:29:38 +0100 diff --git a/patches/ntoskrnl-Stubs/0013-ntoskrnl.exe-Add-stub-for-ExDeleteResourceLite.patch b/patches/ntoskrnl-Stubs/0013-ntoskrnl.exe-Add-stub-for-ExDeleteResourceLite.patch new file mode 100644 index 00000000..b5428c35 --- /dev/null +++ b/patches/ntoskrnl-Stubs/0013-ntoskrnl.exe-Add-stub-for-ExDeleteResourceLite.patch @@ -0,0 +1,47 @@ +From df7c17e8a733a0c665ac09275a4a3e9c5b274e2f Mon Sep 17 00:00:00 2001 +From: Christian Costa +Date: Thu, 12 Feb 2015 07:11:51 +0100 +Subject: ntoskrnl.exe: Add stub for ExDeleteResourceLite. + +--- + dlls/ntoskrnl.exe/ntoskrnl.c | 10 ++++++++++ + dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c +index 82d9546..715f302 100644 +--- a/dlls/ntoskrnl.exe/ntoskrnl.c ++++ b/dlls/ntoskrnl.exe/ntoskrnl.c +@@ -1252,6 +1252,16 @@ BOOLEAN WINAPI ExAcquireResourceExclusiveLite(PERESOURCE resource, BOOLEAN wait) + + + /*********************************************************************** ++ * ExDeleteResourceLite (NTOSKRNL.EXE.@) ++ */ ++NTSTATUS WINAPI ExDeleteResourceLite(PERESOURCE resource) ++{ ++ FIXME("(%p): stub\n", resource); ++ return STATUS_NOT_IMPLEMENTED; ++} ++ ++ ++/*********************************************************************** + * ExInitializeNPagedLookasideList (NTOSKRNL.EXE.@) + */ + void WINAPI ExInitializeNPagedLookasideList(PNPAGED_LOOKASIDE_LIST Lookaside, +diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +index b1196cb..238c953 100644 +--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec ++++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +@@ -125,7 +125,7 @@ + @ stdcall ExCreateCallback(ptr ptr long long) + @ stub ExDeleteNPagedLookasideList + @ stub ExDeletePagedLookasideList +-@ stub ExDeleteResourceLite ++@ stdcall ExDeleteResourceLite(ptr) + @ stub ExDesktopObjectType + @ stub ExDisableResourceBoostLite + @ stub ExEnumHandleTable +-- +2.2.2 + diff --git a/patches/ntoskrnl-Stubs/definition b/patches/ntoskrnl-Stubs/definition index 65522f5a..94f9c5b4 100644 --- a/patches/ntoskrnl-Stubs/definition +++ b/patches/ntoskrnl-Stubs/definition @@ -6,3 +6,4 @@ Fixes: Implement stub for ntoskrnl.KeDelayExecutionThread. Fixes: Fix wrong defition of ntoskrnl.IoReleaseCancelSpinLock function. Fixes: Add stub for ntoskrnl.ExAcquireResourceExclusiveLite Fixes: Add stub for ntoskrnl.ExReleaseResourceForThread +Fixes: Add stub for ntoskrnl.ExDeleteResourceLite diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 65c2a1b0..94e95da4 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2374,6 +2374,7 @@ if test "$enable_ntoskrnl_Stubs" -eq 1; then patch_apply ntoskrnl-Stubs/0010-ntoskrnl.exe-Fix-IoReleaseCancelSpinLock-argument.patch patch_apply ntoskrnl-Stubs/0011-ntoskrnl.exe-Add-stub-for-ExAcquireResourceExclusive.patch patch_apply ntoskrnl-Stubs/0012-ntoskrnl.exe-Add-stub-for-ExReleaseResourceForThread.patch + patch_apply ntoskrnl-Stubs/0013-ntoskrnl.exe-Add-stub-for-ExDeleteResourceLite.patch ( echo '+ { "Sebastian Lackner", "include: Remove several duplicate definitions from ntdef.h.", 1 },'; echo '+ { "Austin English", "ntoskrnl.exe: add KeWaitForMultipleObjects stub.", 1 },'; @@ -2387,6 +2388,7 @@ if test "$enable_ntoskrnl_Stubs" -eq 1; then echo '+ { "Christian Costa", "ntoskrnl.exe: Fix IoReleaseCancelSpinLock argument.", 1 },'; echo '+ { "Christian Costa", "ntoskrnl.exe: Add stub for ExAcquireResourceExclusiveLite.", 1 },'; echo '+ { "Christian Costa", "ntoskrnl.exe: Add stub for ExReleaseResourceForThreadLite.", 1 },'; + echo '+ { "Christian Costa", "ntoskrnl.exe: Add stub for ExDeleteResourceLite.", 1 },'; ) >> "$patchlist" fi