From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by mx.groups.io with SMTP id smtpd.web11.30261.1631542876475329798 for ; Mon, 13 Sep 2021 07:21:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ibm.com header.s=pp1 header.b=dDt4VyDN; spf=none, err=permanent DNS error (domain: linux.vnet.ibm.com, ip: 148.163.156.1, mailfrom: stefanb@linux.vnet.ibm.com) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id 18DD7LxN018795; Mon, 13 Sep 2021 10:21:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=quT3m1NZkVz7kQHT2XvEKSAOIcD2lf0wlEu/V/aZAOo=; b=dDt4VyDNijD1FFwaDWCgb0V05++3HDE6rCJpQk1GjyhxOp4bhdb5VNi7ebQrNh2c+Avr CVt08DzZH7FGlquYDxn3CiOzn7xGXQCliE3BcJFEDZLtzntnAVS6tBtltWIY8sfau7SM iMAYVPomkINXuh5/L7Ys4P3SdB/P23l0S/444L2ln4dI7O1L2bQEFH7vYawMP6/uOdZ9 U2jURDCNEeeIYBxDfBuE6kbk2nA5KjkrM8Nfa7x+rsEtPFBtUpHL0bX+MqWFcd9Zh2F3 VDhSaOq2U6qq2tSAvMsAfnXmsfbqRPRJ4s1RWhPkGXD/Cg3u0pxqm9soq9sOQy3QYRpC bQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3b232ah77w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 10:21:16 -0400 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 18DDtklA011623; Mon, 13 Sep 2021 10:21:15 -0400 Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 3b232ah775-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 10:21:15 -0400 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 18DEDjCi003172; Mon, 13 Sep 2021 14:21:13 GMT Received: from b03cxnp08028.gho.boulder.ibm.com (b03cxnp08028.gho.boulder.ibm.com [9.17.130.20]) by ppma01wdc.us.ibm.com with ESMTP id 3b0m38t3pn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 14:21:13 +0000 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 18DELCFx21561668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Sep 2021 14:21:12 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A864213606E; Mon, 13 Sep 2021 14:21:12 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3735F136055; Mon, 13 Sep 2021 14:21:12 +0000 (GMT) Received: from sbct-2.pok.ibm.com (unknown [9.47.158.152]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 13 Sep 2021 14:21:12 +0000 (GMT) From: Stefan Berger To: devel@edk2.groups.io Cc: mhaeuser@posteo.de, spbrogan@outlook.com, marcandre.lureau@redhat.com, kraxel@redhat.com, jiewen.yao@intel.com, Stefan Berger , Stefan Berger Subject: [PATCH v8 04/10] SecurityPkg/Tcg: Make Tcg2PlatformDxe buildable and fix style issues Date: Mon, 13 Sep 2021 10:21:00 -0400 Message-Id: <20210913142106.2526997-5-stefanb@linux.vnet.ibm.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210913142106.2526997-1-stefanb@linux.vnet.ibm.com> References: <20210913142106.2526997-1-stefanb@linux.vnet.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: GT8V-jyjo2DJwp1nGxPc-FAHJjT78Vxc X-Proofpoint-ORIG-GUID: g3xMu1VS5i2AV2GJVNBQ23roCcMVhdtL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.687,Hydra:6.0.235,FMLib:17.0.607.475 definitions=2020-10-13_15,2020-10-13_02,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 phishscore=0 spamscore=0 impostorscore=0 bulkscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109130046 Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Berger --- SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h | 4 ++-- .../PeiDxeTpmPlatformHierarchyLib.c | 2 +- SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h b/Securi= tyPkg/Include/Library/TpmPlatformHierarchyLib.h index a872fa09dc..8d61a4867b 100644 --- a/SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h +++ b/SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h @@ -11,8 +11,8 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =0D **/=0D =0D -#ifndef _TPM_PLATFORM_HIERARCHY_LIB_H_=0D -#define _TPM_PLATFORM_HIERARCHY_LIB_H_=0D +#ifndef TPM_PLATFORM_HIERARCHY_LIB_H_=0D +#define TPM_PLATFORM_HIERARCHY_LIB_H_=0D =0D /**=0D This service will perform the TPM Platform Hierarchy configuration at t= he SmmReadyToLock event.=0D diff --git a/SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPla= tformHierarchyLib.c b/SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/Pei= DxeTpmPlatformHierarchyLib.c index d82a0ae1bd..0bb04a20fc 100644 --- a/SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHi= erarchyLib.c +++ b/SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHi= erarchyLib.c @@ -233,7 +233,7 @@ DisableTpmPlatformHierarchy ( =0D /**=0D This service defines the configuration of the Platform Hierarchy Author= ization Value (platformAuth)=0D - and Platform Hierarchy Authorization Policy (platformPolicy)=0D + and Platform Hierarchy Authorization Policy (platformPolicy).=0D =0D **/=0D VOID=0D diff --git a/SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf b/Security= Pkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf index af29c1cd98..635302fe6f 100644 --- a/SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf +++ b/SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf @@ -1,4 +1,4 @@ -### @file=0D +## @file=0D # Platform specific TPM2 component.=0D #=0D # Copyright (c) 2017 - 2019, Intel Corporation. All rights reserved.
=0D @@ -31,7 +31,6 @@ [Packages]=0D MdePkg/MdePkg.dec=0D MdeModulePkg/MdeModulePkg.dec=0D - MinPlatformPkg/MinPlatformPkg.dec=0D SecurityPkg/SecurityPkg.dec=0D =0D [Sources]=0D --=20 2.31.1