From 0fc57a45e430e0cf21effeb003ad09aa0b769259 Mon Sep 17 00:00:00 2001 From: Kun Qin Date: Tue, 16 Apr 2024 17:01:07 -0700 Subject: [PATCH] Added comment per PR feedback --- .../Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c b/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c index 0779cb74e9..17851c0aff 100644 --- a/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c +++ b/AdvLoggerPkg/Library/AdvancedLoggerLib/PeiCore/AdvancedLoggerLib.c @@ -560,6 +560,8 @@ AdvancedLoggerGetLoggerInfo ( Type = EfiReservedMemoryType; } else { Pages = FixedPcdGet32 (PcdAdvancedLoggerPreMemPages); + // This is to workaround the interim blackout window before the memory is discovered. + // The permanent buffer will be allocated in the memory discovered callback. Type = EfiBootServicesData; }