From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web12.3147.1646185973933786262 for ; Tue, 01 Mar 2022 17:52:54 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Wed, 02 Mar 2022 09:52:44 +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" To: "'Min Xu'" , Cc: "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Gerd Hoffmann'" , "'Jiewen Yao'" , "'Sami Mujawar'" References: <20220302002807.982-1-min.m.xu@intel.com> <20220302002807.982-4-min.m.xu@intel.com> In-Reply-To: <20220302002807.982-4-min.m.xu@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggMy84XSBNZGVQa2c6IEFkZCBkZWZpbml0aW9uIG9mIEVGSV9DQ19FVkVOVF9IT0JfR1VJRA==?= Date: Wed, 2 Mar 2022 09:52:45 +0800 Message-ID: <040f01d82dd8$3633f430$a29bdc90$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEtMa+8d2RmRVddFpZ8Z/IQnopEjgL+ys0HrelWpHA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Min: Is this GUID from intel-tdx-guest-hypervisor-communication-interface-1.0-344426-002.pdf?=20 Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Min Xu > =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA3=D4=C22=C8=D5 8:28 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Min Xu ; Michael D Kinney > ; Liming Gao ; > Zhiguang Liu ; Gerd Hoffmann = ; > Jiewen Yao ; Sami Mujawar > > =D6=F7=CC=E2: [PATCH 3/8] MdePkg: Add definition of = EFI_CC_EVENT_HOB_GUID >=20 > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3853 >=20 > EFI_CC_EVENT_HOB_GUID is the global ID of a GUIDed HOB used to pass > TDX_DIGEST_VALUE from SEC to a DXE Driver ( This DXE driver will > be introduced in the following commit in this patch-sets ). In that > DXE driver this GUIDed HOB will be parsed and the TDX_DIGEST_VALUE > then will be extracted. After that a EFI_CC_EVENT will be created > based on it. >=20 > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Gerd Hoffmann > Cc: Jiewen Yao > Cc: Sami Mujawar > Signed-off-by: Min Xu > --- > MdePkg/Include/Protocol/CcMeasurement.h | 8 ++++++++ > MdePkg/MdePkg.dec | 1 + > 2 files changed, 9 insertions(+) >=20 > diff --git a/MdePkg/Include/Protocol/CcMeasurement.h > b/MdePkg/Include/Protocol/CcMeasurement.h > index 68029e977fac..83eaafaf10a6 100644 > --- a/MdePkg/Include/Protocol/CcMeasurement.h > +++ b/MdePkg/Include/Protocol/CcMeasurement.h > @@ -299,4 +299,12 @@ typedef struct { >=20 > extern EFI_GUID gEfiCcFinalEventsTableGuid; >=20 > +// > +// The Global ID of a GUIDed HOB used to pass a CC_EVENT from a SEC = to a > TDX DXE Driver. > +// > +#define EFI_CC_EVENT_HOB_GUID \ > + { 0x20f8fd36, 0x6d00, 0x40fb, { 0xb7, 0x04, 0xd1, 0x2c, 0x15, 0x3c, 0x62, > 0xeb } } > + > +extern EFI_GUID gCcEventEntryHobGuid; > + > #endif > diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec > index 1934c9840423..38f01c162e97 100644 > --- a/MdePkg/MdePkg.dec > +++ b/MdePkg/MdePkg.dec > @@ -828,6 +828,7 @@ >=20 > ## Include/Protocol/CcMeasurement.h > gEfiCcFinalEventsTableGuid =3D { 0xdd4a4648, 0x2de7, 0x4665, { = 0x96, > 0x4d, 0x21, 0xd9, 0xef, 0x5f, 0xb4, 0x46 }} > + gCcEventEntryHobGuid =3D { 0x20f8fd36, 0x6d00, 0x40fb, > { 0xb7, 0x04, 0xd1, 0x2c, 0x15, 0x3c, 0x62, 0xeb }} >=20 > [Guids.IA32, Guids.X64] > ## Include/Guid/Cper.h > -- > 2.29.2.windows.2