From nobody Thu May 2 01:12:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1513578208564727.5307516736195; Sun, 17 Dec 2017 22:23:28 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id E917B2035B2DA; Sun, 17 Dec 2017 22:18:41 -0800 (PST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5D82A2035B2C5 for ; Sun, 17 Dec 2017 22:18:40 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Dec 2017 22:23:25 -0800 Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.158.46]) by fmsmga002.fm.intel.com with ESMTP; 17 Dec 2017 22:23:24 -0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Permerror (SPF Permanent Error: More than 10 MX records returned) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,420,1508828400"; d="scan'208";a="2601981" From: Star Zeng To: edk2-devel@lists.01.org Date: Mon, 18 Dec 2017 14:23:20 +0800 Message-Id: <1513578201-18608-2-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 In-Reply-To: <1513578201-18608-1-git-send-email-star.zeng@intel.com> References: <1513578201-18608-1-git-send-email-star.zeng@intel.com> Subject: [edk2] [PATCH 1/2] MdePkg MemoryOverwriteControl.h: Correct typo 'bi' to 'bit' X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Liming Gao , Jiewen Yao , Chao Zhang , Star Zeng MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Cc: Jiewen Yao Cc: Chao Zhang Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen.yao@intel.com --- MdePkg/Include/Guid/MemoryOverwriteControl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Guid/MemoryOverwriteControl.h b/MdePkg/Include/= Guid/MemoryOverwriteControl.h index 09abeada1c13..2903c83f7236 100644 --- a/MdePkg/Include/Guid/MemoryOverwriteControl.h +++ b/MdePkg/Include/Guid/MemoryOverwriteControl.h @@ -36,7 +36,7 @@ #define MEMORY_OVERWRITE_REQUEST_VARIABLE_NAME L"MemoryOverwriteRequestCon= trol" =20 /// -/// 0 =3D Firmware MUST clear the MOR bi +/// 0 =3D Firmware MUST clear the MOR bit /// 1 =3D Firmware MUST set the MOR bit=20 /// #define MOR_CLEAR_MEMORY_BIT_MASK 0x01 --=20 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel From nobody Thu May 2 01:12:28 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1513578211439926.1444135194229; Sun, 17 Dec 2017 22:23:31 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 3CBC02035B2D9; Sun, 17 Dec 2017 22:18:45 -0800 (PST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 777F62035B2D1 for ; Sun, 17 Dec 2017 22:18:41 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Dec 2017 22:23:26 -0800 Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.158.46]) by fmsmga002.fm.intel.com with ESMTP; 17 Dec 2017 22:23:25 -0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Permerror (SPF Permanent Error: More than 10 MX records returned) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,420,1508828400"; d="scan'208";a="2601985" From: Star Zeng To: edk2-devel@lists.01.org Date: Mon, 18 Dec 2017 14:23:21 +0800 Message-Id: <1513578201-18608-3-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 In-Reply-To: <1513578201-18608-1-git-send-email-star.zeng@intel.com> References: <1513578201-18608-1-git-send-email-star.zeng@intel.com> Subject: [edk2] [PATCH 2/2] SecurityPkg TcgMor: Remove wrong comments X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiewen Yao , Chao Zhang , Star Zeng MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" and free the HandleBuffer after used. Cc: Jiewen Yao Cc: Chao Zhang Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen.yao@intel.com --- SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c b/SecurityPkg/= Tcg/MemoryOverwriteControl/TcgMor.c index e691a084d0ed..4fc3330c3964 100644 --- a/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c +++ b/SecurityPkg/Tcg/MemoryOverwriteControl/TcgMor.c @@ -23,8 +23,6 @@ UINT8 mMorControl; /** Ready to Boot Event notification handler. =20 - Sequence of OS boot events is measured in this event notification handle= r. - @param[in] Event Event whose notification function is being invoked @param[in] Context Pointer to the notification function's context =20 @@ -234,9 +232,6 @@ Exit: /** Notification function of END_OF_DXE. =20 - This is a notification function registered on END_OF_DXE event. - It is to get VarCheckPcdBin. - @param[in] Event Event whose notification function is being invoked. @param[in] Context Pointer to the notification function's context. =20 @@ -299,6 +294,8 @@ TPerResetAtEndOfDxe ( =20 InitiateTPerReset (Ssp, BlockIo->Media->MediaId); } + + FreePool (HandleBuffer); } =20 /** --=20 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel