From 3c08639b23f183f9a872b3293c9068feca60cd4d Mon Sep 17 00:00:00 2001 From: Mikhail Krichanov Date: Mon, 16 Sep 2024 16:39:19 +0300 Subject: [PATCH] Core/Dxe/DxeMain: Set default value for gRing3Data. --- MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c index 6be26191cf..2f3f929ea9 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c +++ b/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c @@ -245,6 +245,8 @@ DxeMain ( EFI_VECTOR_HANDOFF_INFO *VectorInfoList; EFI_VECTOR_HANDOFF_INFO *VectorInfo; + gRing3Data = NULL; + // // Setup Stack Guard //