From nobody Fri Dec 27 04:13:15 2024 Delivered-To: importer@patchew.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; 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 15005589476314.7955766398545165; Thu, 20 Jul 2017 06:55:47 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 168DD21D147CF; Thu, 20 Jul 2017 06:53:43 -0700 (PDT) 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 6E42F21CB031E for ; Thu, 20 Jul 2017 06:53:42 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jul 2017 06:55:38 -0700 Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.12]) by orsmga001.jf.intel.com with ESMTP; 20 Jul 2017 06:55:37 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,384,1496127600"; d="scan'208";a="1153475446" From: Star Zeng To: edk2-devel@lists.01.org Date: Thu, 20 Jul 2017 21:55:30 +0800 Message-Id: <1500558932-298208-2-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 In-Reply-To: <1500558932-298208-1-git-send-email-star.zeng@intel.com> References: <1500558932-298208-1-git-send-email-star.zeng@intel.com> Subject: [edk2] [PATCH 1/3] SecurityPkg OpalPasswordSupportLib: Remove include to UefiAcpiDataTable.h 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 , Star Zeng , Eric Dong 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" Remove redundant include to UefiAcpiDataTable.h as SmmCommunication.h will help to include it. Cc: Jiewen Yao Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen.yao@intel.com --- SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupportNotify.h | 3= +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupport= Notify.h b/SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupportNo= tify.h index f0ad3a113612..a2115b738653 100644 --- a/SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupportNotify.h +++ b/SecurityPkg/Library/OpalPasswordSupportLib/OpalPasswordSupportNotify.h @@ -1,7 +1,7 @@ /** @file Implementation of Opal password support library. =20 -Copyright (c) 2016, Intel Corporation. All rights reserved.
+Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD = License which accompanies this distribution. The full text of the license may be = found at @@ -18,7 +18,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER= EXPRESS OR IMPLIED. #include #include =20 -#include #include #include #include --=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 Fri Dec 27 04:13:15 2024 Delivered-To: importer@patchew.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; 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 1500558948372267.3086353192766; Thu, 20 Jul 2017 06:55:48 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5087221CE7460; Thu, 20 Jul 2017 06:53:45 -0700 (PDT) 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 9FC1E21D147D8 for ; Thu, 20 Jul 2017 06:53:43 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jul 2017 06:55:39 -0700 Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.12]) by orsmga001.jf.intel.com with ESMTP; 20 Jul 2017 06:55:38 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,384,1496127600"; d="scan'208";a="1153475452" From: Star Zeng To: edk2-devel@lists.01.org Date: Thu, 20 Jul 2017 21:55:31 +0800 Message-Id: <1500558932-298208-3-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 In-Reply-To: <1500558932-298208-1-git-send-email-star.zeng@intel.com> References: <1500558932-298208-1-git-send-email-star.zeng@intel.com> Subject: [edk2] [PATCH 2/3] MdePkg: Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table 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 , Liming Gao , 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" Delete PiSmmCommunicationAcpiTable.h and delete SMM Communication ACPI Table definition in UefiAcpiDataTable.h. As EFI_SMM_COMMUNICATE_HEADER is defined in both PI spec vol 4 and UEFI spec, move its definition to SmmCommunication.h. Cc: Jiewen Yao Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Jiewen.yao@intel.com --- MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h | 20 --------------- MdePkg/Include/PiSmm.h | 3 +-- MdePkg/Include/Protocol/SmmCommunication.h | 28 +++++++++++++++++---- MdePkg/Include/Uefi/UefiAcpiDataTable.h | 33 +--------------------= ---- 4 files changed, 25 insertions(+), 59 deletions(-) delete mode 100644 MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h diff --git a/MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h b/MdePkg/Inclu= de/Pi/PiSmmCommunicationAcpiTable.h deleted file mode 100644 index 979aa9b316ec..000000000000 --- a/MdePkg/Include/Pi/PiSmmCommunicationAcpiTable.h +++ /dev/null @@ -1,20 +0,0 @@ -/** @file - PI SMM Communication ACPI Table Definition. - -Copyright (c) 2011, Intel Corporation. All rights reserved.
-This program and the accompanying materials are licensed and made availabl= e under=20 -the terms and conditions of the BSD License that accompanies this distribu= tion. =20 -The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php. = =20 - =20 -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, = =20 -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLI= ED. - -**/ - -#ifndef __PI_SMM_COMMUNICATION_ACPI_TABLE__ -#define __PI_SMM_COMMUNICATION_ACPI_TABLE__ - -#include - -#endif diff --git a/MdePkg/Include/PiSmm.h b/MdePkg/Include/PiSmm.h index 535080037b8d..e94a5d21b8bf 100644 --- a/MdePkg/Include/PiSmm.h +++ b/MdePkg/Include/PiSmm.h @@ -2,7 +2,7 @@ =20 Root include file for Mde Package SMM modules. =20 -Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made availabl= e under=20 the terms and conditions of the BSD License that accompanies this distribu= tion. =20 The full text of the license may be found at @@ -20,7 +20,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER= EXPRESS OR IMPLIED. #include =20 #include -#include =20 #endif =20 diff --git a/MdePkg/Include/Protocol/SmmCommunication.h b/MdePkg/Include/Pr= otocol/SmmCommunication.h index c284e55b24a8..5587d49ceda3 100644 --- a/MdePkg/Include/Protocol/SmmCommunication.h +++ b/MdePkg/Include/Protocol/SmmCommunication.h @@ -4,7 +4,7 @@ This protocol provides a means of communicating between drivers outside = of SMM and SMI=20 handlers inside of SMM. =20 =20 - Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials =20 are licensed and made available under the terms and conditions of the BS= D License =20 which accompanies this distribution. The full text of the license may b= e found at =20 @@ -18,10 +18,28 @@ #ifndef _SMM_COMMUNICATION_H_ #define _SMM_COMMUNICATION_H_ =20 -// -// Need include this header file for EFI_SMM_COMMUNICATE_HEADER data struc= ture. -// -#include +#pragma pack(1) + +/// +/// To avoid confusion in interpreting frames, the communication buffer sh= ould always=20 +/// begin with EFI_SMM_COMMUNICATE_HEADER +/// +typedef struct { + /// + /// Allows for disambiguation of the message format. + /// + EFI_GUID HeaderGuid; + /// + /// Describes the size of Data (in bytes) and does not include the size = of the header. + /// + UINTN MessageLength; + /// + /// Designates an array of bytes that is MessageLength in size. + /// + UINT8 Data[1]; +} EFI_SMM_COMMUNICATE_HEADER; + +#pragma pack() =20 #define EFI_SMM_COMMUNICATION_PROTOCOL_GUID \ { \ diff --git a/MdePkg/Include/Uefi/UefiAcpiDataTable.h b/MdePkg/Include/Uefi/= UefiAcpiDataTable.h index 957721fa7cec..ae4942b69b47 100644 --- a/MdePkg/Include/Uefi/UefiAcpiDataTable.h +++ b/MdePkg/Include/Uefi/UefiAcpiDataTable.h @@ -1,7 +1,7 @@ /** @file UEFI ACPI Data Table Definition. =20 -Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.
+Copyright (c) 2011 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made availabl= e under=20 the terms and conditions of the BSD License that accompanies this distribu= tion. =20 The full text of the license may be found at @@ -23,37 +23,6 @@ typedef struct { GUID Identifier; UINT16 DataOffset; } EFI_ACPI_DATA_TABLE; - -typedef struct { - EFI_ACPI_DATA_TABLE UefiAcpiDataTable; - UINT32 SwSmiNumber; - UINT64 BufferPtrAddress; -} EFI_SMM_COMMUNICATION_ACPI_TABLE; - -typedef struct { - EFI_SMM_COMMUNICATION_ACPI_TABLE UefiSmmCommunicationAcpiTable; - EFI_ACPI_6_0_GENERIC_ADDRESS_STRUCTURE InvocationRegister; -} EFI_SMM_COMMUNICATION_ACPI_TABLE_2; - -/// -/// To avoid confusion in interpreting frames, the communication buffer sh= ould always=20 -/// begin with EFI_SMM_COMMUNICATE_HEADER -/// -typedef struct { - /// - /// Allows for disambiguation of the message format. - /// - EFI_GUID HeaderGuid; - /// - /// Describes the size of Data (in bytes) and does not include the size = of the header. - /// - UINTN MessageLength; - /// - /// Designates an array of bytes that is MessageLength in size. - /// - UINT8 Data[1]; -} EFI_SMM_COMMUNICATE_HEADER; - #pragma pack() =20 #endif --=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 Fri Dec 27 04:13:15 2024 Delivered-To: importer@patchew.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; 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 1500558950714815.9327334061019; Thu, 20 Jul 2017 06:55:50 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 833A221CE7467; Thu, 20 Jul 2017 06:53:47 -0700 (PDT) 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 4EB2321D147DE for ; Thu, 20 Jul 2017 06:53:45 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jul 2017 06:55:41 -0700 Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.12]) by orsmga001.jf.intel.com with ESMTP; 20 Jul 2017 06:55:39 -0700 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,384,1496127600"; d="scan'208";a="1153475458" From: Star Zeng To: edk2-devel@lists.01.org Date: Thu, 20 Jul 2017 21:55:32 +0800 Message-Id: <1500558932-298208-4-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 In-Reply-To: <1500558932-298208-1-git-send-email-star.zeng@intel.com> References: <1500558932-298208-1-git-send-email-star.zeng@intel.com> Subject: [edk2] [PATCH 3/3] UefiCpuPkg PiSmmCommunicationSmm: Deprecate SMM Communication ACPI Table 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: Jeff Fan , Star Zeng , Jiewen Yao 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" Follow UEFI 2.7 spec to deprecate SMM Communication ACPI Table, PiSmmCommunicationSmm will not install SMM Communication ACPI Table anymore. Cc: Jiewen Yao Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng --- .../PiSmmCommunication/PiSmmCommunicationSmm.c | 60 +-----------------= ---- .../PiSmmCommunication/PiSmmCommunicationSmm.inf | 29 ++--------- .../PiSmmCommunication/PiSmmCommunicationSmm.uni | 14 ++--- .../PiSmmCommunicationSmmExtra.uni | 4 +- 4 files changed, 13 insertions(+), 94 deletions(-) diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.c b/UefiCp= uPkg/PiSmmCommunication/PiSmmCommunicationSmm.c index 077eacce88d1..2b395f38da64 100644 --- a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.c +++ b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.c @@ -1,7 +1,7 @@ /** @file PiSmmCommunication SMM Driver. =20 -Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD = License which accompanies this distribution. The full text of the license may be = found at @@ -19,16 +19,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITH= ER EXPRESS OR IMPLIED. #include #include #include -#include #include #include -#include #include -#include #include -#include #include -#include =20 #include "PiSmmCommunicationPrivate.h" =20 @@ -36,26 +31,6 @@ EFI_SMM_COMMUNICATION_CONTEXT mSmmCommunicationContext = =3D { SMM_COMMUNICATION_SIGNATURE }; =20 -EFI_SMM_COMMUNICATION_ACPI_TABLE mSmmCommunicationAcpiTable =3D { - { - { - EFI_ACPI_4_0_UEFI_ACPI_DATA_TABLE_SIGNATURE, - sizeof (EFI_SMM_COMMUNICATION_ACPI_TABLE), - 0x1, // Revision - 0x0, // Checksum - {0x0}, // OemId[6] - 0x0, // OemTableId - 0x0, // OemRevision - 0x0, // CreatorId - 0x0 // CreatorRevision - }, - {0x0}, // Identif= ier - OFFSET_OF (EFI_SMM_COMMUNICATION_ACPI_TABLE, SwSmiNumber) // DataOff= set - }, - 0x0, // SwSmiNumber - 0x0 // BufferPtrAddre= ss -}; - /** Set SMM communication context. **/ @@ -200,22 +175,8 @@ PiSmmCommunicationSmmEntryPoint ( EFI_SMM_SW_DISPATCH2_PROTOCOL *SmmSwDispatch2; EFI_SMM_SW_REGISTER_CONTEXT SmmSwDispatchContext; EFI_HANDLE DispatchHandle; - EFI_ACPI_TABLE_PROTOCOL *AcpiTableProtocol; - UINTN TableKey; - UINT64 OemTableId; EFI_PHYSICAL_ADDRESS *BufferPtrAddress; =20 - CopyMem ( - mSmmCommunicationAcpiTable.UefiAcpiDataTable.Header.OemId, - PcdGetPtr (PcdAcpiDefaultOemId), - sizeof (mSmmCommunicationAcpiTable.UefiAcpiDataTable.Header.OemId) - ); - OemTableId =3D PcdGet64 (PcdAcpiDefaultOemTableId); - CopyMem (&mSmmCommunicationAcpiTable.UefiAcpiDataTable.Header.OemTableId= , &OemTableId, sizeof (UINT64)); - mSmmCommunicationAcpiTable.UefiAcpiDataTable.Header.OemRevision =3D= PcdGet32 (PcdAcpiDefaultOemRevision); - mSmmCommunicationAcpiTable.UefiAcpiDataTable.Header.CreatorId =3D= PcdGet32 (PcdAcpiDefaultCreatorId); - mSmmCommunicationAcpiTable.UefiAcpiDataTable.Header.CreatorRevision =3D= PcdGet32 (PcdAcpiDefaultCreatorRevision); - // // Register software SMI handler // @@ -237,32 +198,15 @@ PiSmmCommunicationSmmEntryPoint ( =20 DEBUG ((EFI_D_INFO, "SmmCommunication SwSmi: %x\n", (UINTN)SmmSwDispatch= Context.SwSmiInputValue)); =20 - // - // Set ACPI table - // - Status =3D gBS->LocateProtocol (&gEfiAcpiTableProtocolGuid, NULL, (VOID = **) &AcpiTableProtocol); - ASSERT_EFI_ERROR (Status); - - mSmmCommunicationAcpiTable.SwSmiNumber =3D (UINT32)SmmSwDispatchContext.= SwSmiInputValue; BufferPtrAddress =3D AllocateAcpiNvsMemoryBelow4G (sizeof(EFI_PHYSICAL_A= DDRESS)); ASSERT (BufferPtrAddress !=3D NULL); DEBUG ((EFI_D_INFO, "SmmCommunication BufferPtrAddress: 0x%016lx, Buffer= Ptr: 0x%016lx\n", (EFI_PHYSICAL_ADDRESS)(UINTN)BufferPtrAddress, *BufferPtr= Address)); - mSmmCommunicationAcpiTable.BufferPtrAddress =3D (EFI_PHYSICAL_ADDRESS)(U= INTN)BufferPtrAddress; - CopyMem (&mSmmCommunicationAcpiTable.UefiAcpiDataTable.Identifier, &gEfi= SmmCommunicationProtocolGuid, sizeof(gEfiSmmCommunicationProtocolGuid)); - - Status =3D AcpiTableProtocol->InstallAcpiTable ( - AcpiTableProtocol, - &mSmmCommunicationAcpiTable, - sizeof(mSmmCommunicationAcpiTable), - &TableKey - ); - ASSERT_EFI_ERROR (Status); =20 // // Save context // mSmmCommunicationContext.SwSmiNumber =3D (UINT32)SmmSwDispatchContext.Sw= SmiInputValue; - mSmmCommunicationContext.BufferPtrAddress =3D mSmmCommunicationAcpiTable= .BufferPtrAddress; + mSmmCommunicationContext.BufferPtrAddress =3D (EFI_PHYSICAL_ADDRESS)(UIN= TN)BufferPtrAddress; SetCommunicationContext (); =20 return Status; diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf b/Uefi= CpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf index 9b03837cf3f1..67799e9436cd 100644 --- a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf +++ b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.inf @@ -1,12 +1,8 @@ ## @file -# PI SMM Communication SMM driver that installs the SMM Communication ACPI= Table. +# PI SMM Communication SMM driver that saves SMM communication context +# for use by SMM Communication PEIM in the S3 boot mode. # -# This SMM driver installs the SMM Communication ACPI Table defined in the= UEFI spec -# which provides a mechanism that can be used in the OS present environmen= t by -# non-firmware agents for inter-mode communication with SMM agents. It als= o saves -# SMM communication context for use by SMM Communication PEIM in the S3 bo= ot mode. -# -# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BS= D License @@ -49,34 +45,17 @@ [LibraryClasses] SmmServicesTableLib BaseLib BaseMemoryLib - HobLib DebugLib SmmMemLib - PcdLib - -[Guids] - gEfiAcpi20TableGuid ## SOMETIMES_CONSUMES ## SystemTable - gEfiAcpi10TableGuid ## SOMETIMES_CONSUMES ## SystemTable - gEfiAcpiTableGuid ## SOMETIMES_CONSUMES ## SystemTable =20 [Ppis] gEfiPeiSmmCommunicationPpiGuid ## UNDEFINED # SMM Configuration Table =20 [Protocols] gEfiSmmSwDispatch2ProtocolGuid ## CONSUMES - gEfiSmmCommunicationProtocolGuid ## UNDEFINED # SMM Communication ACPI= Table GUID - gEfiAcpiTableProtocolGuid ## CONSUMES - -[Pcd] - gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## CONSUM= ES - gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## CONSUM= ES - gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## CONSUM= ES - gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## CONSUM= ES - gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## CONSUM= ES =20 [Depex] - gEfiSmmSwDispatch2ProtocolGuid AND - gEfiAcpiTableProtocolGuid + gEfiSmmSwDispatch2ProtocolGuid =20 [UserExtensions.TianoCore."ExtraFiles"] PiSmmCommunicationSmmExtra.uni diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.uni b/Uefi= CpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.uni index 55df3905df08..9995b4ec7d9d 100644 --- a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.uni +++ b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmm.uni @@ -1,12 +1,8 @@ // /** @file -// PI SMM Communication SMM driver that installs the SMM Communication ACP= I Table. +// PI SMM Communication SMM driver that saves SMM communication context +// for use by SMM Communication PEIM in the S3 boot mode. // -// This SMM driver installs the SMM Communication ACPI Table defined in th= e UEFI spec -// which provides a mechanism that can be used in the OS present environme= nt by -// non-firmware agents for inter-mode communication with SMM agents. It al= so saves -// SMM communication context for use by SMM Communication PEIM in the S3 b= oot mode. -// -// Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
+// Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.
// // This program and the accompanying materials // are licensed and made available under the terms and conditions of the B= SD License @@ -18,6 +14,6 @@ // // **/ =20 -#string STR_MODULE_ABSTRACT #language en-US "PI SMM Communicat= ion SMM driver that installs the SMM Communication ACPI Table" +#string STR_MODULE_ABSTRACT #language en-US "PI SMM Communicat= ion SMM driver that saves SMM communication context" =20 -#string STR_MODULE_DESCRIPTION #language en-US "This SMM driver i= nstalls the SMM Communication ACPI Table defined in the UEFI Specification,= which provides a mechanism that can be used in the OS-present environment = by non-firmware agents for inter-mode communication with SMM agents. It als= o saves an SMM communication context for use by SMM Communication PEIM in t= he S3 boot mode." +#string STR_MODULE_DESCRIPTION #language en-US "PI SMM Communicat= ion SMM driver that saves SMM communication context for use by SMM Communic= ation PEIM in the S3 boot mode." diff --git a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmmExtra.uni b= /UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmmExtra.uni index 34e7731fb5ae..bb7ce62dc589 100644 --- a/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmmExtra.uni +++ b/UefiCpuPkg/PiSmmCommunication/PiSmmCommunicationSmmExtra.uni @@ -1,7 +1,7 @@ // /** @file // PiSmmCommunicationSmm Localized Strings and Content // -// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
+// Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.
// // This program and the accompanying materials // are licensed and made available under the terms and conditions of the B= SD License @@ -15,4 +15,4 @@ =20 #string STR_PROPERTIES_MODULE_NAME #language en-US -"SMM Communication ACPI Table DXE Driver" +"SMM Communication SMM Driver" --=20 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel