]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/TcgSmm/TcgSmm.inf
SecurityPkg Tcg: Use SW SMI IO port PCD in Tpm.asl
[mirror_edk2.git] / SecurityPkg / Tcg / TcgSmm / TcgSmm.inf
index be7a96bc62d7401b2d5c72cfdd23b535a5341aac..9fac896dde8bd2b0e2ba65720a3f3665e1ed748b 100644 (file)
@@ -1,21 +1,17 @@
 ## @file\r
-#  Implements ACPI metholds for the TCG feature\r
+#  Implements ACPI methods for the TCG feature\r
 #\r
-#  This driver implements TPM definition block in ACPI table and registers SMI \r
-#  callback functions for physical presence and MemoryClear to handle the requests \r
+#  This driver implements TPM definition block in ACPI table and registers SMI\r
+#  callback functions for physical presence and MemoryClear to handle the requests\r
 #  from ACPI method.\r
 #\r
 #  Caution: This module requires additional review when modified.\r
 #  This driver will have external input - variable and ACPINvs data in SMM mode.\r
 #  This external input must be validated carefully to avoid security issue.\r
 #\r
-# Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) Microsoft Corporation.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 \r
@@ -60,7 +56,7 @@
   ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControl"\r
   ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl"\r
   gEfiMemoryOverwriteControlDataGuid\r
-  \r
+\r
   gEfiTpmDeviceInstanceTpm12Guid                        ## PRODUCES           ## GUID       # TPM device identifier\r
 \r
 [Protocols]\r
@@ -68,6 +64,9 @@
   gEfiSmmVariableProtocolGuid                           ## CONSUMES\r
   gEfiAcpiTableProtocolGuid                             ## CONSUMES\r
 \r
+[FixedPcd]\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdSmiCommandIoPort     ## CONSUMES\r
+\r
 [Pcd]\r
   gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid      ## CONSUMES\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId    ## SOMETIMES_CONSUMES\r
@@ -77,7 +76,7 @@
   gEfiSmmSwDispatch2ProtocolGuid AND\r
   gEfiSmmVariableProtocolGuid AND\r
   gEfiTcgProtocolGuid\r
-  \r
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   TcgSmmExtra.uni\r
-  
\ No newline at end of file
+\r