]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/OvmfPkg.dec
OvmfPkg/Amdsev: Base commit to build encrypted boot specific OVMF
[mirror_edk2.git] / OvmfPkg / OvmfPkg.dec
index 723a779c0348253ee636b8b45a504948026c29e2..6abde4fd9351d3de7ee7afbd176daa07d72f3227 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
@@ -18,6 +20,9 @@
   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
   #  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
   ## Number of page frames to use for storing grant table entries.\r
   gUefiOvmfPkgTokenSpaceGuid.PcdXenGrantFrames|4|UINT32|0x33\r
 \r
+  ## Specify the extra page table needed to mark the GHCB as unencrypted.\r
+  #  The value should be a multiple of 4KB for each.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableBase|0x0|UINT32|0x3e\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbPageTableSize|0x0|UINT32|0x3f\r
+\r
+  ## The base address of the SEC GHCB page used by SEV-ES.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbBase|0|UINT32|0x40\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOvmfSecGhcbSize|0|UINT32|0x41\r
+\r
 [PcdsDynamic, PcdsDynamicEx]\r
   gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable|FALSE|BOOLEAN|0x10\r