From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id BB145AC06C6 for ; Tue, 30 Apr 2024 01:48:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=s6eoS2Sp4uAOv4z1pBDrG15nm6gAYN0sQkBF8LiW5c0=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20240206; t=1714441707; v=1; b=Y1aE/jarpP4XmQouTgH1+ZnqcejWbwYb567/cl5I6UrN9opn403vhNn9tSrqa7P6aSre15jN hH83Yvh9YecQKFufMQsutG+tZb+ApUvN7nNRaeM7uFeJ/0IVU0l3lHGKQfcMjT9B3BHW9oMOnlW kSsF9D5Ua/ZXP0AgVGzod0NrMj0Sy5DWfIPjtGOE9xCI/ZSJazItSauP8SWrV3qJtvZx68CeXGK w1loBI89q2y4TlCz932Kh8G4rmiSalzXS4eREzpwTa8vINUzUin+TeBvL5ps3LwgYl3FsffNqle 5iC6K6F/1XEmO/0LBIZ6zqyKu5yDMN940tYPhuai9bkGg== X-Received: by 127.0.0.2 with SMTP id t7uXYY7687511xxeddxAbHZQ; Mon, 29 Apr 2024 18:48:27 -0700 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.5212.1714441705857694640 for ; Mon, 29 Apr 2024 18:48:26 -0700 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 56D2BDDA7B7 for ; Tue, 30 Apr 2024 09:48:23 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 52215DDA7A3 for ; Tue, 30 Apr 2024 09:48:23 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id 53DE2DDA7B4 for ; Tue, 30 Apr 2024 09:48:16 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Tue, 30 Apr 2024 09:48:10 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: "'Sam Kaynor'" , Cc: "'Michael D Kinney'" , "'Zhiguang Liu'" References: <20240426175231.171604-1-Sam.Kaynor@arm.com> <20240426175231.171604-4-Sam.Kaynor@arm.com> <002701da99d1$45faf460$d1f0dd20$@byosoft.com.cn> In-Reply-To: Subject: =?UTF-8?B?W2VkazItZGV2ZWxdIOWbnuWkjTogW1BBVENIIHY2IDMvNF0gTWRlUGtnOiBBZGRpbmcgc3VwcG9ydCBmb3IgRUZJX0NPTkZPUk1BTkNFX1BST0ZJTEVfVEFCTEU=?= Date: Tue, 30 Apr 2024 09:48:09 +0800 Message-ID: <014201da9aa0$7604c580$620e5080$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQHgvfjSy8+99M6deDk1yQR5DKOvIwIBE54jAid1/5UB1ztiuLFDxnZQ 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 Resent-Date: Mon, 29 Apr 2024 18:48:26 -0700 Resent-From: gaoliming@byosoft.com.cn Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: LVpaUOZls5uzTWufU4QErfyXx7686176AA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b="Y1aE/jar"; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Sam: I would suggest to separate this patch 3/4 to two patches. One is to add U= EFI definition, another is to add EBBR definition. Do you think so? Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: Sam Kaynor > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2024=E5=B9=B44=E6=9C=8829=E6=97=A5 = 21:49 > =E6=94=B6=E4=BB=B6=E4=BA=BA: gaoliming ; devel@= edk2.groups.io > =E6=8A=84=E9=80=81: 'Michael D Kinney' ; 'Zhi= guang Liu' > > =E4=B8=BB=E9=A2=98: RE: [PATCH v6 3/4] MdePkg: Adding support for > EFI_CONFORMANCE_PROFILE_TABLE >=20 > Liming, >=20 > Excuse me, I forgot to include the spec for that GUID. It's defined in th= e > Embedded Base Boot Requirements (EBBR) specification 2.1.0 release. > https://arm-software.github.io/ebbr/ >=20 > Thanks, > Sam >=20 > -----Original Message----- > From: gaoliming > Sent: Sunday, April 28, 2024 8:05 PM > To: Sam Kaynor ; devel@edk2.groups.io > Cc: 'Michael D Kinney' ; 'Zhiguang Liu' > > Subject: =E5=9B=9E=E5=A4=8D: [PATCH v6 3/4] MdePkg: Adding support for > EFI_CONFORMANCE_PROFILE_TABLE >=20 > Sam: > I don't find EFI_CONFORMANCE_PROFILE_EBBR_2_1_GUID definition in > UEFI 2.10 spec. So, what's its definition from? >=20 > Thanks > Liming > > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > > =E5=8F=91=E4=BB=B6=E4=BA=BA: Sam Kaynor > > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2024=E5=B9=B44=E6=9C=8827=E6=97= =A5 1:53 > > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io > > =E6=8A=84=E9=80=81: Michael D Kinney ; Limi= ng Gao > > ; Zhiguang Liu > > =E4=B8=BB=E9=A2=98: [PATCH v6 3/4] MdePkg: Adding support for > > EFI_CONFORMANCE_PROFILE_TABLE > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4352 > > > > Adding support for EFI_CONFORMANCE_PROFILE_TABLE by adding an > > associated header file and relevant GUIDs to MdePkg.dec as defined in > > the UEFI 2.10 spec. > > This table is needed to address changes being made within ShellPkg. > > > > Cc: Michael D Kinney > > Cc: Liming Gao > > Cc: Zhiguang Liu > > Signed-off-by: Sam Kaynor > > --- > > > > Notes: > > v6: > > - Added patch to address MdePkg changes separately > > > > MdePkg/MdePkg.dec | 5 ++ > > MdePkg/Include/Guid/ConformanceProfiles.h | 56 > ++++++++++++++++++++ > > 2 files changed, 61 insertions(+) > > > > diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index > > bf94549cbfbd..2c053a7459f3 100644 > > --- a/MdePkg/MdePkg.dec > > +++ b/MdePkg/MdePkg.dec > > @@ -746,6 +746,11 @@ [Guids] > > ## Include/Guid/DeviceAuthentication.h > > gEfiDeviceSignatureDatabaseGuid =3D { 0xb9c2b4f4, 0xbf5f, 0x462d, > > {0x8a, 0xdf, 0xc5, 0xc7, 0xa, 0xc3, 0x5d, 0xad }} > > > > + ## Include/Guid/ConformanceProfiles.h > > + gEfiConfProfilesTableGuid =3D { 0x36122546, 0xf7e7, 0x4c8f, { > 0xbd, > > 0x9b, 0xeb, 0x85, 0x25, 0xb5, 0x0c, 0x0b }} > > + gEfiConfProfilesUefiSpecGuid =3D { 0x523c91af, 0xa195, 0x4382, { > 0x81, > > 0x8d, 0x29, 0x5f, 0xe4, 0x00, 0x64, 0x65 }} > > + gEfiConfProfilesEbbrSpecGuid =3D { 0xcce33c35, 0x74ac, 0x4087, > > { 0xbc, 0xe7, 0x8b, 0x29, 0xb0, 0x2e, 0xeb, 0x27 }} > > + > > # > > # GUID defined in PI1.0 > > # > > diff --git a/MdePkg/Include/Guid/ConformanceProfiles.h > > b/MdePkg/Include/Guid/ConformanceProfiles.h > > new file mode 100644 > > index 000000000000..c6211d63d79c > > --- /dev/null > > +++ b/MdePkg/Include/Guid/ConformanceProfiles.h > > @@ -0,0 +1,56 @@ > > +/** @file > > + Legal information > > + > > +**/ > > + > > +#ifndef __CONFORMANCE_PROFILES_TABLE_GUID_H__ > > +#define __CONFORMANCE_PROFILES_TABLE_GUID_H__ > > + > > + > > +// > > +// This table allows the platform to advertise its UEFI specification > > conformance > > +// in the form of pre-defined profiles. Each profile is identified by > > +a > GUID, > > with > > +// known profiles listed in the section below. > > +// The absence of this table shall indicate that the platform > implementation > > is > > +// conformant with the UEFI specification requirements, as defined in > > Section 2.6. > > +// This is equivalent to publishing this configuration table with the > > +// EFI_CONFORMANCE_PROFILES_UEFI_SPEC_GUID conformance profile. > > +// > > +#define EFI_CONFORMANCE_PROFILES_TABLE_GUID \ > > + { \ > > + 0x36122546, 0xf7e7, 0x4c8f, { 0xbd, 0x9b, 0xeb, 0x85, 0x25, 0xb5, > 0x0c, > > 0x0b } \ > > + } > > + > > +#pragma pack(1) > > + > > +typedef struct { > > + /// > > + /// Version of the table must be 0x1 > > + /// > > + UINT16 Version; > > + /// > > + /// The number of profiles GUIDs present in ConformanceProfiles > > + /// > > + UINT16 NumberOfProfiles; > > + /// > > + /// An array of conformance profile GUIDs that are supported by > > +this > > system. > > + /// EFI_GUID ConformanceProfiles[]; > > + /// > > +} EFI_CONFORMANCE_PROFILES_TABLE; > > + > > +#define EFI_CONFORMANCE_PROFILES_TABLE_VERSION 0x1 > > + > > +// > > +// GUID defined in spec. > > +// > > +#define EFI_CONFORMANCE_PROFILES_UEFI_SPEC_GUID \ > > + { 0x523c91af, 0xa195, 0x4382, \ > > + { 0x81, 0x8d, 0x29, 0x5f, 0xe4, 0x00, 0x64, 0x65 }} #define > > +EFI_CONFORMANCE_PROFILE_EBBR_2_1_GUID \ > > + { 0xcce33c35, 0x74ac, 0x4087, \ > > + { 0xbc, 0xe7, 0x8b, 0x29, 0xb0, 0x2e, 0xeb, 0x27 }} > > + > > +extern EFI_GUID gEfiConfProfilesTableGuid; extern EFI_GUID > > +gEfiConfProfilesUefiSpecGuid; > > + > > +#endif > > -- > > 2.34.1 >=20 >=20 >=20 > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended reci= pient, > please notify the sender immediately and do not disclose the contents to = any > other person, use it for any purpose, or store or copy the information in= any > medium. Thank you. -=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 (#118398): https://edk2.groups.io/g/devel/message/118398 Mute This Topic: https://groups.io/mt/105814144/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-