MdeModulePkg/PiSmmCore: Fix fixed address loading

This commit is contained in:
Marvin Häuser 2023-03-28 15:55:57 +02:00 committed by Mikhail Krichanov
parent 03b44331ec
commit 414fd1789b

View File

@ -444,7 +444,7 @@ SmmLoadImage (
// following statements is to bypass SmmFreePages // following statements is to bypass SmmFreePages
// //
PageCount = 0; PageCount = 0;
DstBuffer = (UINTN)gLoadModuleAtFixAddressSmramBase; DstBuffer = LoadAddress;
} else { } else {
DEBUG ((DEBUG_INFO|DEBUG_LOAD, "LOADING MODULE FIXED ERROR: Failed to load module at fixed address. \n")); DEBUG ((DEBUG_INFO|DEBUG_LOAD, "LOADING MODULE FIXED ERROR: Failed to load module at fixed address. \n"));
// //