MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gEfiMdeModulePkgTokenSpaceGuid.PcdImageProtectionPolicy

Set image protection policy. The policy is bitwise.
If a bit is set, the image will be protected by DxeCore if it is aligned.
The code section becomes read-only, and the data section becomes non-executable.
If a bit is clear, nothing will be done to image code/data sections.


BIT0 - Image from unknown device.

BIT1 - Image from firmware volume.



Note: If a bit is cleared, the data section could be still non-executable if
PcdDxeNxMemoryProtectionPolicy is enabled for EfiLoaderData, EfiBootServicesData
and/or EfiRuntimeServicesData.



Set image protection policy.
0x80000002 | 0x00000000 - 0x0000001F

PCD Information

NameToken SpaceToken numberData TypeDefault Value
PcdImageProtectionPolicygEfiMdeModulePkgTokenSpaceGuid0x00001047UINT320x00000002