Zebediah Figura : winedevice: Reimplement (un) loading drivers on top of ZwLoadDriver()/ZwUnloadDriver().
Module: wine Branch: master Commit: c18f8e4c3235d0417bfb9fdba2d938bf2e42ee65 URL: https://source.winehq.org/git/wine.git/?a=commit;h=c18f8e4c3235d0417bfb9fdba... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Fri Aug 24 22:42:58 2018 -0500 winedevice: Reimplement (un)loading drivers on top of ZwLoadDriver()/ZwUnloadDriver(). We can't implement ZwLoadDriver() on top of StartService(), since the latter takes the service database lock. Instead simply move the entire body of create_driver()/unload_driver() into ZwLoadDriver()/ZwUnloadDriver(). Similarly, clean up the list of loaded drivers in ntoskrnl rather than winedevice. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45084 Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/ntoskrnl.exe/ntoskrnl.c | 376 +++++++++++++++++++++++++++++++++++-------- programs/winedevice/device.c | 356 +++------------------------------------- 2 files changed, 330 insertions(+), 402 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=c18f8e4c3235d0417bfb9...
participants (1)
-
Alexandre Julliard