From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.158.5]) by mx.groups.io with SMTP id smtpd.web12.30410.1631542878749239350 for ; Mon, 13 Sep 2021 07:21:19 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ibm.com header.s=pp1 header.b=nBJhIdjh; spf=none, err=permanent DNS error (domain: linux.vnet.ibm.com, ip: 148.163.158.5, mailfrom: stefanb@linux.vnet.ibm.com) Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.0.43) with SMTP id 18DDh0GO026126; Mon, 13 Sep 2021 10:21:18 -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=h+7HgnQrG5S77R2VsGTCvHJJS0t7MbdXIUwHjgGYdJQ=; b=nBJhIdjhmB9FsLj7bA4MeWlgLNBQCRnnmWD7rp94FveZ9A1jNljJ4dErg7H9hl/SzZNQ ysjou6ZfDS6r9gLFyl7t3geKf6FyvpgOCW9/H/ZSnnaKjtxAX5bB2vyHBXLP5y1OdjXu q2z3OEiOG+g8o0VuW3+U96G6enidsl4aLNqEQc5eYwlILhBADb7AjWD0hTEmYQM0uurg M4MDPFV9lGUYZr+00On5V6XdoNsMyjU2pyok67xi389SHxEfo/mcumtBaaeRUOkl+7eT U8ETPLg89m5hrjP7C8GnYvXGVtCM+RDh/3CIv6cbc8o3fU6bfqTzqYsE9MJXPsyQRw3j ag== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3b232urv5k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 10:21:17 -0400 Received: from m0098414.ppops.net (m0098414.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 18DCxSY9003338; Mon, 13 Sep 2021 10:21:17 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 3b232urv56-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 10:21:17 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 18DEDht2018625; Mon, 13 Sep 2021 14:21:16 GMT Received: from b03cxnp08026.gho.boulder.ibm.com (b03cxnp08026.gho.boulder.ibm.com [9.17.130.18]) by ppma03dal.us.ibm.com with ESMTP id 3b0m3a29jq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Sep 2021 14:21:16 +0000 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08026.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 18DELFsp18940162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 13 Sep 2021 14:21:15 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0D7B8136076; Mon, 13 Sep 2021 14:21:15 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9146113604F; Mon, 13 Sep 2021 14:21:14 +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:14 +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 08/10] SecurityPkg/Tcg: Make Tcg2PlatformPei buildable and fix style issues Date: Mon, 13 Sep 2021 10:21:04 -0400 Message-Id: <20210913142106.2526997-9-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-ORIG-GUID: NE2K9sv-cEGduMYlM1ffuLdC5k7Wy35J X-Proofpoint-GUID: lGCbCTUZBwMA0xHADqgVP46VYO6zFB04 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 adultscore=0 mlxlogscore=999 impostorscore=0 mlxscore=0 suspectscore=0 malwarescore=0 phishscore=0 clxscore=1015 spamscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109130043 Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Berger --- SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c | 11 ++++++----- SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c b/SecurityPk= g/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c index 66ec75ad0e..21d2c1433d 100644 --- a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c +++ b/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.c @@ -1,4 +1,5 @@ /** @file=0D + Configure TPM 2 platform hierarchy on TPM state resume failure on S3 res= ume=0D =0D Copyright (c) 2017, Intel Corporation. All rights reserved.
=0D Copyright (c) Microsoft Corporation.
=0D @@ -24,12 +25,12 @@ SPDX-License-Identifier: BSD-2-Clause-Patent /**=0D This function handles PlatformInit task at the end of PEI=0D =0D - @param[in] PeiServices Pointer to PEI Services Table.=0D - @param[in] NotifyDesc Pointer to the descriptor for the Notification = event that=0D - caused this function to execute.=0D - @param[in] Ppi Pointer to the PPI data associated with this fu= nction.=0D + @param[in] PeiServices Pointer to PEI Services Table.=0D + @param[in] NotifyDescriptor Pointer to the descriptor for the Notific= ation event that=0D + caused this function to execute.=0D + @param[in] Ppi Pointer to the PPI data associated with t= his function.=0D =0D - @retval EFI_SUCCESS The function completes successfully=0D + @retval EFI_SUCCESS The function completes successfully=0D @retval others=0D **/=0D EFI_STATUS=0D diff --git a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf b/Security= Pkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf index 579f09b940..6f57de025b 100644 --- a/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf +++ b/SecurityPkg/Tcg/Tcg2PlatformPei/Tcg2PlatformPei.inf @@ -1,4 +1,5 @@ -### @file=0D +## @file=0D +# Configure TPM 2 platform hierarchy on TPM state resume failure on S3 res= ume=0D #=0D # Copyright (c) 2017, Intel Corporation. All rights reserved.
=0D #=0D @@ -35,7 +36,6 @@ [Packages]=0D MdePkg/MdePkg.dec=0D SecurityPkg/SecurityPkg.dec=0D - MinPlatformPkg/MinPlatformPkg.dec=0D =0D [Sources]=0D Tcg2PlatformPei.c=0D --=20 2.31.1