]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/AmdSevDxe/AmdSevDxe.inf
OvmfPkg: Introduce the OvmfSevMemoryAcceptance protocol
[mirror_edk2.git] / OvmfPkg / AmdSevDxe / AmdSevDxe.inf
index 3aff7e2920539ff12e262cb9ad42f6648983265b..5b443d45bcefbf7ff29199836b0f1f203e829946 100644 (file)
@@ -2,16 +2,9 @@
 #\r
 #  Driver clears the encryption attribute from MMIO regions when SEV is enabled\r
 #\r
-#  Copyright (c) 2017, AMD Inc. All rights reserved.<BR>\r
+#  Copyright (c) 2017 - 2020, AMD Inc. All rights reserved.<BR>\r
 #\r
-#  This program and the accompanying materials are licensed and made available\r
-#  under the terms and conditions of the BSD License which accompanies this\r
-#  distribution.  The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
-#\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\r
-#  IMPLIED.\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 #**/\r
 \r
   OvmfPkg/OvmfPkg.dec\r
 \r
 [LibraryClasses]\r
+  BaseLib\r
+  BaseMemoryLib\r
   DebugLib\r
   DxeServicesTableLib\r
   MemEncryptSevLib\r
   MemoryAllocationLib\r
+  PcdLib\r
   UefiDriverEntryPoint\r
 \r
 [Depex]\r
   TRUE\r
+\r
+[FeaturePcd]\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire\r
+\r
+[FixedPcd]\r
+  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidBase\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfCpuidSize\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsBase\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSnpSecretsSize\r
+\r
+[Protocols]\r
+  gEdkiiMemoryAcceptProtocolGuid\r
+\r
+[Guids]\r
+  gConfidentialComputingSevSnpBlobGuid\r
+  gEfiEventBeforeExitBootServicesGuid\r
+\r
+[Pcd]\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId\r