]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/MdeModulePkg.dec
Remove hard code video resolution in C code and use PCD PcdVideoHorizontalResolution...
[mirror_edk2.git] / MdeModulePkg / MdeModulePkg.dec
index d5e3a327534a64c1b8abdf2439612525e10191ef..dc9ec5b9b1ecf7abf538d59a4729382a3260313a 100644 (file)
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxEfiSystemTablePointerAddress|0x0|UINT64|0x30001027\r
   \r
 [PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
-  ## This PCD defines the Console output column and the default value is 25 according to UEFI spec\r
+  ## This PCD defines the Console output column and the default value is 25 according to UEFI spec.\r
+  #  This PCD could be set to 0 then console output could be at max column and max row.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|25|UINT32|0x40000006\r
 \r
-  ## This PCD defines the Console output row and the default value is 80 according to UEFI spec\r
+  ## This PCD defines the Console output row and the default value is 80 according to UEFI spec.\r
+  #  This PCD could be set to 0 then console output could be at max column and max row.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007\r
 \r
+  ## This PCD defines the video horizontal resolution.\r
+  #  This PCD could be set to 0 then video resolution could be at highest resolution.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800|UINT32|0x40000009\r
+\r
+  ## This PCD defines the video vertical resolution.\r
+  #  This PCD could be set to 0 then video resolution could be at highest resolution.\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600|UINT32|0x4000000a\r
+\r
 [PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx]\r
   ## Base address of the NV variable range in flash device\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001\r