From f39339f899198948260b094050c8ac2995d8a553 Mon Sep 17 00:00:00 2001 From: Mikhail Krichanov Date: Fri, 10 Nov 2023 17:25:59 +0300 Subject: [PATCH] MdeModulePkg: Fixed compilation. --- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c index 5824de2a28..6870c80f4e 100644 --- a/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c +++ b/MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c @@ -1004,7 +1004,7 @@ ExecuteSmmCoreFromSmram ( // // Get information about the image being loaded // - ImageContext.ImageOrigin = UefiImageOriginFv; + gSmmCorePrivate->PiSmmCoreImageContext.ImageOrigin = UefiImageOriginFv; Status = UefiImageInitializeContext ( &gSmmCorePrivate->PiSmmCoreImageContext,