Committed as:
e53c618ea4928820eea5a6d778395ce1e6145cbc
da219919538b679d5cf7387f4eba6c20384bf868


On 7/13/2023 9:24 AM, Joey Vagedes via groups.io wrote:
v3: Updates function to be Doxygen compliant
v3: Updates commit message

v2: Adds --nonxcompat flag to GenFw; updates man page
v2: Updates PeImage.h to reference spec 9.3 rather then 8.3

Utilize GenFw to automatically set the NXCOMPAT bit of the DLL Characteristics
field of the Optional Header if the following requirements are met:

1. It is a 64bit PE
2. The section alignment is evently divisible by 4K
3. No section is both EFI_IMAGE_SCN_MEM_EXECUTE and EFI_IMAGE_SCN_MEM_WRITE

Cc: Rebecca Cran <rebe...@bsdio.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Yuwei Chen <yuwei.c...@intel.com>

Joey Vagedes (2):
   MdePkg: IndustryStandard: Add DLL Characteristics
   BaseTools: GenFw: auto-set nxcompat flag

  MdePkg/Include/IndustryStandard/PeImage.h        |  17 +-
  BaseTools/Source/C/GenFw/GenFw.c                 |  69 ++++
  BaseTools/UserManuals/GenFw_Utility_Man_Page.rtf | 420 +++++++++++---------
  3 files changed, 308 insertions(+), 198 deletions(-)




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#110764): https://edk2.groups.io/g/devel/message/110764
Mute This Topic: https://groups.io/mt/100122559/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to