mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 13:44:33 +02:00
ArmVirtPkg: Correct PcdDxeNxMemoryProtectionPolicy comment
Since commit 2997ae387397 ("ArmVirtPkg: make EFI_LOADER_DATA non-executable") the comment for PcdDxeNxMemoryProtectionPolicy is incorrect. * Remove the incorrect part of the description. * Describe overriding NX protection by passing a pcd parameter on the build command line. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
39462fcd99
commit
2936b7d162
@ -381,8 +381,10 @@
|
||||
|
||||
#
|
||||
# Enable NX memory protection for all non-code regions, including OEM and OS
|
||||
# reserved ones, with the exception of LoaderData regions, of which OS loaders
|
||||
# (i.e., GRUB) may assume that its contents are executable.
|
||||
# reserved ones.
|
||||
# By passing --pcd PcdDxeNxMemoryProtectionPolicy=0xC000000000007FD1 on the
|
||||
# build command line you can allow code execution in EfiLoaderData. This is
|
||||
# required when using some outdated GRUB versions.
|
||||
#
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy|0xC000000000007FD5
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user