Joey: Can you describe the full usage of NXCOMPAT bit? This patch sets NXCOMPAT bit. And, which module will consume NXCOMPAT bit, how use it? DxeCore?
Thanks Liming > -----邮件原件----- > 发件人: [email protected] <[email protected]> 代表 Joey Vagedes > 发送时间: 2023年6月23日 23:45 > 收件人: [email protected] > 抄送: Michael D Kinney <[email protected]>; Liming Gao > <[email protected]>; Zhiguang Liu <[email protected]>; > Rebecca Cran <[email protected]>; Bob Feng <[email protected]>; > Yuwei Chen <[email protected]> > 主题: [edk2-devel] [PATCH v1 0/2] Automatically set NXCOMPAT bit if > requirements are met > > 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: Michael D Kinney <[email protected]> > Cc: Liming Gao <[email protected]> > Cc: Zhiguang Liu <[email protected]> > Cc: Rebecca Cran <[email protected]> > Cc: Bob Feng <[email protected]> > Cc: Yuwei Chen <[email protected]> > > Joey Vagedes (2): > MdePkg: IndustryStandard: Add DLL Characteristics > BaseTools: GenFw: auto-set nxcompat flag > > MdePkg/Include/IndustryStandard/PeImage.h | 15 +++++ > BaseTools/Source/C/GenFw/GenFw.c | 59 > ++++++++++++++++++++ > 2 files changed, 74 insertions(+) > > -- > 2.41.0.windows.1 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106318): https://edk2.groups.io/g/devel/message/106318 Mute This Topic: https://groups.io/mt/99764034/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
