mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-25 18:48:42 +02:00
MdeModulePkg/Core/Dxe: Called ProtectUefiImage() for DxeCore.efi right after initialization of CPU Architectural protocol.
This commit is contained in:
parent
2f0024e283
commit
cec94399d6
@ -263,6 +263,7 @@ extern EFI_RUNTIME_ARCH_PROTOCOL gRuntimeTemplate;
|
||||
|
||||
extern EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE gLoadModuleAtFixAddressConfigurationTable;
|
||||
extern BOOLEAN gLoadFixedAddressCodeMemoryReady;
|
||||
extern LOADED_IMAGE_PRIVATE_DATA * mCurrentImage;
|
||||
//
|
||||
// Service Initialization Functions
|
||||
//
|
||||
|
@ -324,6 +324,8 @@ DxeMain (
|
||||
//
|
||||
InitializeCpu ();
|
||||
|
||||
ProtectUefiImage (mCurrentImage, &ImageContext);
|
||||
|
||||
//
|
||||
// Call constructor for all libraries
|
||||
//
|
||||
|
@ -297,8 +297,6 @@ CoreInitializeImageServices (
|
||||
|
||||
InitializeListHead (&mAvailableEmulators);
|
||||
|
||||
ProtectUefiImage (Image, ImageContext);
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user