Skip to content

Commit 6c6d6f4

Browse files
os-dmergify[bot]
authored andcommitted
MdeModulePkg: DxeCore: Lower Image Protection Print to Verbose Log Level
The print that describes memory attributes being applied to image memory sections is currently at info level and very noisy, being printed multiple times per image. Reduce this to the verbose logging level. Signed-off-by: Oliver Smith-Denny <[email protected]>
1 parent 856bdc8 commit 6c6d6f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ SetUefiImageMemoryAttributes (
200200

201201
FinalAttributes = (Descriptor.Attributes & EFI_CACHE_ATTRIBUTE_MASK) | (Attributes & EFI_MEMORY_ATTRIBUTE_MASK);
202202

203-
DEBUG ((DEBUG_INFO, "SetUefiImageMemoryAttributes - 0x%016lx - 0x%016lx (0x%016lx)\n", BaseAddress, Length, FinalAttributes));
203+
DEBUG ((DEBUG_VERBOSE, "SetUefiImageMemoryAttributes - 0x%016lx - 0x%016lx (0x%016lx)\n", BaseAddress, Length, FinalAttributes));
204204

205205
ASSERT (gCpu != NULL);
206206
gCpu->SetMemoryAttributes (gCpu, BaseAddress, Length, FinalAttributes);

0 commit comments

Comments
 (0)