Copy PCD from IntelFrameworkModulePkg to MdePkg and MdeModulePkg
authorRuiyu Ni <ruiyu.ni@intel.com>
Wed, 6 May 2015 03:22:26 +0000 (03:22 +0000)
committerniruiyu <niruiyu@Edk2>
Wed, 6 May 2015 03:22:26 +0000 (03:22 +0000)
to MdePkg: PcdHardwareErrorRecordLevel, PcdPlatformBootTimeout
to MdeModulePkg: PcdSetupConOutColumn, PcdSetupConOutRow, PcdSetupVideoHorizontalResolution, PcdSetupVideoVerticalResolution

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17313 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/MdeModulePkg.dec
MdePkg/MdePkg.dec

index 5a7de46..1edb49a 100644 (file)
   # @Prompt Video vertical resolution.\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600|UINT32|0x4000000a\r
 \r
+  #  The 4 PCDs below are used to specify the video resolution and text mode of text setup.\r
+  #  To make text setup work in this resolution, PcdVideoHorizontalResolution, PcdVideoVerticalResolution,\r
+  #  PcdConOutColumn and PcdConOutRow should be created as PcdsDynamic or PcdsDynamicEx in platform DSC file.\r
+  #  Then BDS setup will update these PCDs defined in MdeModulePkg.dec and reconnect console drivers\r
+  #  (GraphicsConsole, Terminal, Consplitter) to make the video resolution and text mode work\r
+  #  for text setup.\r
+\r
+  ## Specify the video horizontal resolution of text setup.\r
+  # @Prompt Video Horizontal Resolution of Text Setup\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800|UINT32|0x4000000b\r
+\r
+  ## Specify the video vertical resolution of text setup.\r
+  # @Prompt Video Vertical Resolution of Text Setup\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600|UINT32|0x4000000c\r
+\r
+  ## Specify the console output column of text setup.\r
+  # @Prompt Console Output Column of Text Setup\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutColumn|80|UINT32|0x4000000d\r
+\r
+  ## Specify the console output row of text setup.\r
+  # @Prompt Console Output Row of Text Setup\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x4000000e\r
+\r
 [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## Base address of the NV variable range in flash device.\r
   # @Prompt Base address of flash NV variable range.\r
index da42ede..bce005b 100644 (file)
   # @ValidRange 0x80000001 | 0 - 3\r
   gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|0|UINT8|0x00000024\r
 \r
+  ## Error level for hardware recorder. \r
+  #  If value 0, platform does not support feature of hardware error record.\r
+  # @Prompt Error Level For Hardware Recorder\r
+  gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|0|UINT16|0x0000002b\r
+\r
+  ## The number of seconds that the firmware will wait before initiating the original default boot selection. \r
+  #  A value of 0 indicates that the default boot selection is to be initiated immediately on boot. \r
+  #  The value of 0xFFFF then firmware will wait for user input before booting.\r
+  # @Prompt Boot Timeout (s)\r
+  gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x0000002c\r
+\r
 [UserExtensions.TianoCore."ExtraFiles"]\r
   MdePkgExtra.uni\r