]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/OvmfPkg.dec
MdeModulePkg PartitionDxe: Ensure the NumberOfPartitionEntries * SizeOfPartitionEntry...
[mirror_edk2.git] / OvmfPkg / OvmfPkg.dec
index 2a01968e1b89e4e15c1b52cff0b4ca074073f448..d874f0c44f6d3f2dc34d36f3b70b2ccde564ee20 100644 (file)
@@ -7,7 +7,7 @@
 #  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
-# \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 IMPLIED.\r
 #\r
   Include\r
 \r
 [LibraryClasses]\r
+  ##  @libraryclass  Loads and boots a Linux kernel image\r
+  #\r
+  LoadLinuxLib|Include/Library/LoadLinuxLib.h\r
+\r
   ##  @libraryclass  Save and restore variables using a file\r
   #\r
   NvVarsFileLib|Include/Library/NvVarsFileLib.h\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvBase|0x0|UINT32|0\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfMemFvSize|0x0|UINT32|1\r
 \r
+  ## This flag is used to control the destination port for PlatformDebugLibIoPort\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdDebugIoPort|0x402|UINT16|4\r
+\r
+  ## This flag determines the Power Management Base Address of choice, written\r
+  #  to PIIX4 function 3 offset 0x40-0x43 bits [15:6].\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdAcpiPmBaseAddress|0xB000|UINT16|5\r
+\r
+  ## When VirtioScsiDxe is instantiated for a HBA, the numbers of targets and\r
+  #  LUNs are retrieved from the host during virtio-scsi setup.\r
+  #  MdeModulePkg/Bus/Scsi/ScsiBusDxe then scans all MaxTarget * MaxLun\r
+  #  possible devices. This can take extremely long, for example with\r
+  #  MaxTarget=255 and MaxLun=16383. The *inclusive* constants below limit\r
+  #  MaxTarget and MaxLun, independently, should the host report higher values,\r
+  #  so that scanning the number of devices given by their product is still\r
+  #  acceptably fast.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdVirtioScsiMaxTargetLimit|31|UINT16|6\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdVirtioScsiMaxLunLimit|7|UINT32|7\r
+\r
 [PcdsDynamic, PcdsDynamicEx]\r
   gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2\r
 \r
 [PcdsFeatureFlag]\r
   gUefiOvmfPkgTokenSpaceGuid.PcdSecureBootEnable|FALSE|BOOLEAN|3\r
-\r