From db2475e8ecbf8daea7e5daecfa482e40d01c2068 Mon Sep 17 00:00:00 2001 From: Martin Harvey Date: Thu, 15 Jul 2021 14:15:00 +0100 Subject: [PATCH] Additional logging for module loading. Recent releases of Windows (10 and 11 in particular) allow online edition updates which involve a driver migration step, which occurs in SAFEBOOT mode. In some rare cases, this step may fail (for a variety of reasons). This additional logging added to debug such upgrade cases. Signed-Off-By: Martin Harvey --- src/xen/module.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xen/module.c b/src/xen/module.c index da7f113..1813e3b 100644 --- a/src/xen/module.c +++ b/src/xen/module.c @@ -145,6 +145,11 @@ ModuleAdd( BOOLEAN After; NTSTATUS status; + Info("%p - %p [%s]\n", + Start, + Start + Size - 1, + Name); + New = __ModuleAllocate(sizeof (MODULE)); status = STATUS_NO_MEMORY; -- 2.39.5