From nobody Sun May 5 03:53:31 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+73155+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73155+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1616462140; cv=none; d=zohomail.com; s=zohoarc; b=Eo2bMhNyA7LtyEP7czsJgFagjAyR+f4YubDS+ouoCHVW+fZRO60Gn4wgL4zUJsk4qiicxCAvYvJiP0lzEhn3sd/xjMzbAjjULqFcGMKNPiZBbsKD/h4KY3Jp8i9cfVx8tq2wzmmita21qgb4lUXe6pFEPYnxj/1TUblJ9AHeHns= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616462140; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=TXPl5c9m+Spy9mA3v0CWvTBeBgjpE95M6nuvXKvSVtg=; b=UJgYU7/6Q8s8zL8i6I5If5d4w8JRI3W7HlS18pQEYolqtzvnyqtZ95qzsaMlWNf0+AtitqnlfmFxoIGkviDwA3eQa8fvklfvh+U0cBmWxeQ4EcWiJrAVd5IPuV4gryDGILsAjB79+VwKUbo+NTiViB8WyYLZoLf/rU8klA4UD6c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+73155+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1616462140772880.7726254761565; Mon, 22 Mar 2021 18:15:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id t0QaYY1788612x85xAVQoFwV; Mon, 22 Mar 2021 18:15:40 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.2654.1616462139305883014 for ; Mon, 22 Mar 2021 18:15:39 -0700 IronPort-SDR: 3xn5fqpMz54QT9xBRH2fHtjUsY6kXx3WYLROCWqY39Mx16xwEGPBBQ2JC4hxQs3ExGVIISm1Kc pUCmBkjOohdA== X-IronPort-AV: E=McAfee;i="6000,8403,9931"; a="210455645" X-IronPort-AV: E=Sophos;i="5.81,269,1610438400"; d="scan'208";a="210455645" X-Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2021 18:15:38 -0700 IronPort-SDR: 5xYU9ih2wIyfxql2JGk4U6/HdznZ6fxs3lJgvgGVugr3YlDoVdHGXadhwLOR9ToG+maEDwYaRw TDVCJ0+zwXjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,269,1610438400"; d="scan'208";a="390687434" X-Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by orsmga002.jf.intel.com with ESMTP; 22 Mar 2021 18:15:36 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Eric Dong , Laszlo Ersek , Rahul Kumar Subject: [edk2-devel] [PATCH] UefiCpuPkg/SmmCommunication: Remove out-dated comments Date: Tue, 23 Mar 2021 09:15:27 +0800 Message-Id: <20210323011527.437-1-ray.ni@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ray.ni@intel.com X-Gm-Message-State: 9ymto47019zoUgZnuvh3MyfAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1616462140; bh=W6H+8lyM1/bOGyqqNGz60Ye8degbwy57dUlsC68zsUk=; h=Cc:Date:From:Reply-To:Subject:To; b=t4/mHPwk7i5nbVRlWcUC9fi/C5DcRCTD8LTfcyygsRcoqqDs+01byohhXh5Dhi0zB+o 1VMVZa9KmqvGif+Agqd4RUZxY/fL+jywJiaa4xETh26yONBWnjbYja7TFn/Yolux7Bg1X TMsef/1cs3o15T/f0fJFYLUpI9qjjTkj7n8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" The comments in PiSmmCommunicationPei.c describe the whole memory layout of the SMRAM regarding the SMM communication. But SHA-1: 8b1d14939053b63d80355465649c50f9f391a64a PiSmmCommunicationSmm: Deprecate SMM Communication ACPI Table removed the code that produces the ACPI Table. This change updates the accordingly comments. Signed-off-by: Ray Ni Cc: Eric Dong Cc: Laszlo Ersek Cc: Rahul Kumar Acked-by: Laszlo Ersek Reviewed-by: Eric Dong --- .../PiSmmCommunication/PiSmmCommunicationPei.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c b/UefiCp= uPkg/PiSmmCommunication/PiSmmCommunicationPei.c index 68e5003ad4..110165b20b 100644 --- a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c +++ b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationPei.c @@ -1,7 +1,7 @@ /** @file PiSmmCommunication PEI Driver. =20 -Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -47,16 +47,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent +----------------------------------+<-- | EFI_SMM_COMMUNICATION_CONTEXT | | SwSmiNumber | <- SMRAM - | BufferPtrAddress |---------------- - +----------------------------------+ | - | - +----------------------------------+ | - | EFI_SMM_COMMUNICATION_ACPI_TABLE | | - | SwSmiNumber | <- AcpiTable | - | BufferPtrAddress |--- | - +----------------------------------+ | | - | | - +----------------------------------+<--------------- + | BufferPtrAddress |--- + +----------------------------------+ | + | + +----------------------------------+<-- | Communication Buffer Pointer | <- AcpiNvs +----------------------------------+--- | --=20 2.27.0.windows.1 -=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 (#73155): https://edk2.groups.io/g/devel/message/73155 Mute This Topic: https://groups.io/mt/81541408/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-