]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/OvmfPkg.dec: Add PCD definitions used by copied CSM modules
authorHao A Wu <hao.a.wu@intel.com>
Wed, 15 May 2019 06:39:46 +0000 (14:39 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Fri, 14 Jun 2019 05:05:39 +0000 (13:05 +0800)
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1811

This commit will add the PCD definitions consumed by the duplicated
drivers:

* VideoDxe
* LegacyBiosDxe

into the OvmfPkg DEC file.

Please note that, instead of adding these PCDs under section:
[PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx, PcdsPatchableInModule]

as in IntelFrameworkModulePkg.dec file, they are added in section:
[PcdsFixedAtBuild]

in OvmfPkg.dec instead.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: David Woodhouse <dwmw2@infradead.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
OvmfPkg/OvmfPkg.dec

index 2251f4ca994cead6b7b1b7064489872e23adcc82..9640360f62455aeeb6f455bb5d3c982a62823e02 100644 (file)
   #  For the corresponding bits, 0 = Edge triggered and 1 = Level triggered.\r
   gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0000|UINT16|0x5\r
 \r
   #  For the corresponding bits, 0 = Edge triggered and 1 = Level triggered.\r
   gUefiOvmfPkgTokenSpaceGuid.Pcd8259LegacyModeEdgeLevel|0x0000|UINT16|0x5\r
 \r
+  ## Indicates if BiosVideo driver will switch to 80x25 Text VGA Mode when\r
+  #  exiting boot service.\r
+  #   TRUE  - Switch to Text VGA Mode.\r
+  #   FALSE - Does not switch to Text VGA Mode.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdBiosVideoSetTextVgaModeEnable|FALSE|BOOLEAN|0x28\r
+\r
+  ## Indicates if BiosVideo driver will check for VESA BIOS Extension service\r
+  #  support.\r
+  #   TRUE  - Check for VESA BIOS Extension service.\r
+  #   FALSE - Does not check for VESA BIOS Extension service.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdBiosVideoCheckVbeEnable|TRUE|BOOLEAN|0x29\r
+\r
+  ## Indicates if BiosVideo driver will check for VGA service support.\r
+  #  NOTE: If both PcdBiosVideoCheckVbeEnable and PcdBiosVideoCheckVgaEnable\r
+  #  are set to FALSE, that means Graphics Output protocol will not be\r
+  #  installed, the VGA miniport protocol will be installed instead.\r
+  #   TRUE  - Check for VGA service.<BR>\r
+  #   FALSE - Does not check for VGA service.<BR>\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdBiosVideoCheckVgaEnable|TRUE|BOOLEAN|0x2a\r
+\r
+  ## Indicates if memory space for legacy region will be set as cacheable.\r
+  #   TRUE  - Set cachebility for legacy region.\r
+  #   FALSE - Does not set cachebility for legacy region.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdLegacyBiosCacheLegacyRegion|TRUE|BOOLEAN|0x2b\r
+\r
+  ## Specify memory size with bytes to reserve EBDA below 640K for OPROM.\r
+  #  The value should be a multiple of 4KB.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdEbdaReservedMemorySize|0x8000|UINT32|0x2c\r
+\r
+  ## Specify memory base address for OPROM to find free memory.\r
+  #  Some OPROMs do not use EBDA or PMM to allocate memory for its usage,\r
+  #  instead they find the memory filled with zero from 0x20000.\r
+  #  The value should be a multiple of 4KB.\r
+  #  The range should be below the EBDA reserved range from\r
+  #  (CONVENTIONAL_MEMORY_TOP - Reserved EBDA Memory Size) to\r
+  #  CONVENTIONAL_MEMORY_TOP.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOpromReservedMemoryBase|0x60000|UINT32|0x2d\r
+\r
+  ## Specify memory size with bytes for OPROM to find free memory.\r
+  #  The value should be a multiple of 4KB. And the range should be below the\r
+  #  EBDA reserved range from\r
+  #  (CONVENTIONAL_MEMORY_TOP - Reserved EBDA Memory Size) to\r
+  #  CONVENTIONAL_MEMORY_TOP.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdOpromReservedMemorySize|0x28000|UINT32|0x2e\r
+\r
+  ## Specify the end of address below 1MB for the OPROM.\r
+  #  The last shadowed OpROM should not exceed this address.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdEndOpromShadowAddress|0xdffff|UINT32|0x2f\r
+\r
+  ## Specify the low PMM (Post Memory Manager) size with bytes below 1MB.\r
+  #  The value should be a multiple of 4KB.\r
+  # @Prompt Low PMM (Post Memory Manager) Size\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdLowPmmMemorySize|0x10000|UINT32|0x30\r
+\r
+  ## Specify the high PMM (Post Memory Manager) size with bytes above 1MB.\r
+  #  The value should be a multiple of 4KB.\r
+  gUefiOvmfPkgTokenSpaceGuid.PcdHighPmmMemorySize|0x400000|UINT32|0x31\r
+\r
 [PcdsDynamic, PcdsDynamicEx]\r
   gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable|FALSE|BOOLEAN|0x10\r
 [PcdsDynamic, PcdsDynamicEx]\r
   gUefiOvmfPkgTokenSpaceGuid.PcdEmuVariableEvent|0|UINT64|2\r
   gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashVariablesEnable|FALSE|BOOLEAN|0x10\r