From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 986A0940D69 for ; Tue, 17 Oct 2023 01:13:37 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=2QR2tAI3AkG+BvvmaEvRruAhzUmfTUoiT9JSWcERhCw=; c=relaxed/simple; d=groups.io; h=Feedback-ID:Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1697505216; v=1; b=hVELNtzNl08j5vGG+m+3sqizSCcoW9hywbmJ9GbZzFoL/SbISL1qe2KWo0IIQCgUkrwOm3qO AdklhckBHsiC7RamuEMEsjAtCA2dJrFcyaXXa7935dCGRzO4+86p8l+aGeyePKeyqvwXCX6q5AL 32LJVPPtFYe1TrvSRS5eC15M= X-Received: by 127.0.0.2 with SMTP id 9TQlYY7687511xXNR4zgBvJX; Mon, 16 Oct 2023 18:13:36 -0700 X-Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.197926.1697505215419011219 for ; Mon, 16 Oct 2023 18:13:35 -0700 X-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 29C173200A48; Mon, 16 Oct 2023 21:13:34 -0400 (EDT) X-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 16 Oct 2023 21:13:34 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjedugdegfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheptfgvsggv tggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrth htvghrnhephfekvdekvdfhtddvteehueeuleetjefhieehjeeuhfdtuddtvdeguddtkeev lefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprh gvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail X-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Oct 2023 21:13:32 -0400 (EDT) Message-ID: <9f448efc-8e5d-45bf-b1de-7dbe68eb12f2@bsdio.com> Date: Mon, 16 Oct 2023 19:13:23 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH v3 1/2] MdePkg: IndustryStandard: Add DLL Characteristics To: devel@edk2.groups.io, joeyvagedes@microsoft.com Cc: Michael D Kinney , Liming Gao , Zhiguang Liu References: <20230713152436.220-1-joey.vagedes@gmail.com> <20230713152436.220-2-joey.vagedes@gmail.com> From: "Rebecca Cran" In-Reply-To: <20230713152436.220-2-joey.vagedes@gmail.com> Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,rebecca@bsdio.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: rVTQcEAOUX1CGwslD7Bfy8Ofx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=hVELNtzN; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io It looks like this still needs reviewed and merged. I'm working on the BaseTools patch (2/2) in this series. --=20 Rebecca Cran On 7/13/23 09:24, Joey Vagedes via groups.io wrote: > Add the bit masks for DLL Characteristics, used within the optional > header of a PE, to the PeImage.h header file. > > Update the Visual Studio, Microsoft Portable Executable and Common > Object File Format Specification, and the PE/COFF Specification to the > latest version. > > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Signed-off-by: Joey Vagedes > > Reviewed-by: Michael D Kinney > --- > MdePkg/Include/IndustryStandard/PeImage.h | 17 ++++++++++++++++- > 1 file changed, 16 insertions(+), 1 deletion(-) > > diff --git a/MdePkg/Include/IndustryStandard/PeImage.h b/MdePkg/Include/I= ndustryStandard/PeImage.h > index 47037049348c..9fdbfb9c4944 100644 > --- a/MdePkg/Include/IndustryStandard/PeImage.h > +++ b/MdePkg/Include/IndustryStandard/PeImage.h > @@ -4,7 +4,7 @@ > EFI_IMAGE_NT_HEADERS64 is for PE32+. > =20 > This file is coded to the Visual Studio, Microsoft Portable Executabl= e and > - Common Object File Format Specification, Revision 8.3 - February 6, 20= 13. > + Common Object File Format Specification, Revision 9.3 - December 29, 2= 015. > This file also includes some definitions in PI Specification, Revisio= n 1.0. > =20 > Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
> @@ -269,6 +269,21 @@ typedef struct { > #define EFI_IMAGE_SUBSYSTEM_OS2_CUI 5 > #define EFI_IMAGE_SUBSYSTEM_POSIX_CUI 7 > =20 > +// > +// DLL Characteristics > +// > +#define IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA 0x0020 > +#define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE 0x0040 > +#define IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY 0x0080 > +#define IMAGE_DLLCHARACTERISTICS_NX_COMPAT 0x0100 > +#define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION 0x0200 > +#define IMAGE_DLLCHARACTERISTICS_NO_SEH 0x0400 > +#define IMAGE_DLLCHARACTERISTICS_NO_BIND 0x0800 > +#define IMAGE_DLLCHARACTERISTICS_APPCONTAINER 0x1000 > +#define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000 > +#define IMAGE_DLLCHARACTERISTICS_GUARD_CF 0x4000 > +#define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000 > + > /// > /// Length of ShortName. > /// -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109661): https://edk2.groups.io/g/devel/message/109661 Mute This Topic: https://groups.io/mt/100122560/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-