On 9/11/2018 1:16 PM, Jian J Wang wrote:
+if ((PcdGet64 (PcdDxeNxMemoryProtectionPolicy) & BIT4) != 0
I suggest to use (1 << EfiBootServicesData) to replace BIT4.
--
Thanks,
Ray
___
edk2-devel mailing list
edk2-devel@lists.01.org
BZ#: https://bugzilla.tianocore.org/show_bug.cgi?id=1116
Since the stack memory is allocated as EfiBootServicesData, its NX protection
can be covered by BIT4 of PcdDxeNxMemoryProtectionPolicy. To avoid confusing
in setting related PCDs, PcdSetNxForStack will be expired. Instead, If BIT4
of
2 matches
Mail list logo