gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
# instance in PiSmmCpuDxeSmm, and CpuHotplugSmm.\r
gUefiOvmfPkgTokenSpaceGuid.PcdCpuHotEjectDataAddress|0|UINT64|0x46\r
\r
+ ## This PCD tracks where PcdVideo{Horizontal,Vertical}Resolution\r
+ # values are coming from.\r
+ # 0 - unset (defaults from platform dsc)\r
+ # 1 - set from PlatformConfig\r
+ # 2 - set by GOP Driver.\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0|UINT8|0x64\r
+\r
[PcdsFeatureFlag]\r
gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderPciTranslation|TRUE|BOOLEAN|0x1c\r
gUefiOvmfPkgTokenSpaceGuid.PcdQemuBootOrderMmioTranslation|FALSE|BOOLEAN|0x1d\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|1280\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|800\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiS3Enable|FALSE\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId|0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase|0x0\r
gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize|0x0\r
PlatformConfig.VerticalResolution\r
);\r
ASSERT_RETURN_ERROR (PcdStatus);\r
+\r
+ PcdStatus = PcdSet8S (PcdVideoResolutionSource, 1);\r
+ ASSERT_RETURN_ERROR (PcdStatus);\r
}\r
\r
return EFI_SUCCESS;\r
[Pcd]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution\r
+ gUefiOvmfPkgTokenSpaceGuid.PcdVideoResolutionSource\r
\r
[Protocols]\r
gEfiDevicePathProtocolGuid ## PRODUCES\r