]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/OvmfPkg.dec
OvmfPkg: Add support to perform SEV-ES initialization
[mirror_edk2.git] / OvmfPkg / OvmfPkg.dec
index adb7ac2e2309e573c5334c0e0c0e4116969a78a8..55bb8ea91a00aec90dee45496bb2b8c75bc055c4 100644 (file)
@@ -1,7 +1,9 @@
 ## @file\r
 #  EFI/Framework Open Virtual Machine Firmware (OVMF) platform\r
 #\r
+#  Copyright (c) 2020, Rebecca Cran <rebecca@bsdio.com>\r
 #  Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2014, Pluribus Networks, Inc.\r
 #\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
   Csm/Include\r
 \r
 [LibraryClasses]\r
+  ##  @libraryclass  Access bhyve's firmware control interface.\r
+  BhyveFwCtlLib|Include/Library/BhyveFwCtlLib.h\r
+\r
   ##  @libraryclass  Loads and boots a Linux kernel image\r
   #\r
   LoadLinuxLib|Include/Library/LoadLinuxLib.h\r
 \r
+  ##  @libraryclass  Declares helper functions for Secure Encrypted\r
+  #                  Virtualization (SEV) guests.\r
+  MemEncryptSevLib|Include/Library/MemEncryptSevLib.h\r
+\r
   ##  @libraryclass  Save and restore variables using a file\r
   #\r
   NvVarsFileLib|Include/Library/NvVarsFileLib.h\r
@@ -45,6 +54,9 @@
   #                  return codes, to the UEFI console.\r
   PlatformBmPrintScLib|Include/Library/PlatformBmPrintScLib.h\r
 \r
+  ##  @libraryclass  Customize FVB2 protocol member functions for a platform.\r
+  PlatformFvbLib|Include/Library/PlatformFvbLib.h\r
+\r
   ##  @libraryclass  Access QEMU's firmware configuration interface\r
   #\r
   QemuFwCfgLib|Include/Library/QemuFwCfgLib.h\r
   #\r
   QemuFwCfgS3Lib|Include/Library/QemuFwCfgS3Lib.h\r
 \r
+  ##  @libraryclass  Parse the contents of named fw_cfg files as simple\r
+  #                  (scalar) data types.\r
+  QemuFwCfgSimpleParserLib|Include/Library/QemuFwCfgSimpleParserLib.h\r
+\r
   ##  @libraryclass  Rewrite the BootOrder NvVar based on QEMU's "bootorder"\r
   #                  fw_cfg file.\r
   #\r
   #\r
   SerializeVariablesLib|Include/Library/SerializeVariablesLib.h\r
 \r
+  ##  @libraryclass  Declares utility functions for virtio device drivers.\r
+  VirtioLib|Include/Library/VirtioLib.h\r
+\r
+  ##  @libraryclass  Install Virtio Device Protocol instances on virtio-mmio\r
+  #                  transports.\r
+  VirtioMmioDeviceLib|Include/Library/VirtioMmioDeviceLib.h\r
+\r
   ##  @libraryclass  Invoke Xen hypercalls\r
   #\r
   XenHypercallLib|Include/Library/XenHypercallLib.h\r
   gUefiOvmfPkgTokenSpaceGuid.PcdPvScsiMaxTargetLimit|64|UINT8|0x36\r
   gUefiOvmfPkgTokenSpaceGuid.PcdPvScsiMaxLunLimit|0|UINT8|0x37\r
 \r
+  ## After PvScsiDxe sends a SCSI request to the device, it waits for\r
+  #  the request completion in a polling loop.\r
+  #  This constant defines how many micro-seconds to wait between each\r
+  #  polling loop iteration.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdPvScsiWaitForCmpStallInUsecs|5|UINT32|0x38\r
+\r
+  ## Set the *inclusive* number of targets that MptScsi exposes for scan\r
+  #  by ScsiBusDxe.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdMptScsiMaxTargetLimit|7|UINT8|0x39\r
+\r
+  ## Microseconds to stall between polling for MptScsi request result\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdMptScsiStallPerPollUsec|5|UINT32|0x3a\r
+\r
+  ## Set the *inclusive* number of targets and LUNs that LsiScsi exposes for\r
+  #  scan by ScsiBusDxe.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdLsiScsiMaxTargetLimit|7|UINT8|0x3b\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdLsiScsiMaxLunLimit|0|UINT8|0x3c\r
+\r
+  ## Microseconds to stall between polling for LsiScsi request result\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdLsiScsiStallPerPollUsec|5|UINT32|0x3d\r
+\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogBase|0x0|UINT32|0x8\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize|0x0|UINT32|0x9\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareFdSize|0x0|UINT32|0xa\r