Zebediah Figura : ntoskrnl: Report IRP completion via get_next_device_request if possible.

Alexandre Julliard julliard at winehq.org
Mon Sep 13 16:12:32 CDT 2021


Module: wine
Branch: master
Commit: 69ea35a9540e88d7486d804ada8c90d6ec46d967
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=69ea35a9540e88d7486d804ada8c90d6ec46d967

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Sun Sep 12 16:07:50 2021 -0500

ntoskrnl: Report IRP completion via get_next_device_request if possible.

Although there is arguably an advantage to saving a server request, the impetus
for this patch is make it easier for the server to process the IRP return status
before (or at the same time as) it processes the IOSB status. This allows
simpler handling of the case where the IRP handler returns STATUS_PENDING but
completes the IRP before returning.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntoskrnl.exe/ntoskrnl.c   | 150 ++++++++++++++++++++++++++++++-----------
 include/wine/server_protocol.h |   5 +-
 server/device.c                |  21 +++---
 server/protocol.def            |   2 +
 server/request.h               |   3 +-
 server/trace.c                 |   3 +-
 6 files changed, 131 insertions(+), 53 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=69ea35a9540e88d7486d804ada8c90d6ec46d967



More information about the wine-cvs mailing list