https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b89a4eed72e96f337c360…
commit b89a4eed72e96f337c36042a020cb6af6ebfbc9a
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Tue Aug 9 15:48:48 2022 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Dec 1 20:17:40 2022 +0200
[NTOS:EX] Initialize ExpTimeRefreshLock
---
ntoskrnl/ex/init.c | 1 +
ntoskrnl/include/internal/ex.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/ntoskrnl/ex/init.c b/ntoskrnl/ex/init.c
index 4dadddaa0c7..2953a442e35 100644
--- a/ntoskrnl/ex/init.c
+++ b/ntoskrnl/ex/init.c
@@ -649,6 +649,7 @@ ExpInitSystemPhase0(VOID)
/* Initialize the Firmware Table resource and listhead */
InitializeListHead(&ExpFirmwareTableProviderListHead);
ExInitializeResourceLite(&ExpFirmwareTableResource);
+ ExInitializeResourceLite(&ExpTimeRefreshLock);
/* Set the suite mask to maximum and return */
ExSuiteMask = 0xFFFFFFFF;
diff --git a/ntoskrnl/include/internal/ex.h b/ntoskrnl/include/internal/ex.h
index a8273001523..66728280125 100644
--- a/ntoskrnl/include/internal/ex.h
+++ b/ntoskrnl/include/internal/ex.h
@@ -16,6 +16,7 @@ extern POBJECT_TYPE ExEventPairObjectType;
extern POBJECT_TYPE _ExEventObjectType, _ExSemaphoreObjectType;
extern FAST_MUTEX ExpEnvironmentLock;
extern ERESOURCE ExpFirmwareTableResource;
+extern ERESOURCE ExpTimeRefreshLock;
extern LIST_ENTRY ExpFirmwareTableProviderListHead;
extern BOOLEAN ExpIsWinPEMode;
extern LIST_ENTRY ExpSystemResourcesList;