Reviewed-by: Liming Gao <[email protected]>

-----Original Message-----
From: Ni, Ruiyu 
Sent: Monday, April 27, 2015 10:54 AM
To: [email protected]
Cc: Ni, Ruiyu; Gao, Liming
Subject: [Patch V3 01/16] Copy PCD from IntelFrameworkModulePkg to MdePkg and 
MdeModulePkg

to MdePkg: PcdHardwareErrorRecordLevel, PcdPlatformBootTimeout to MdeModulePkg: 
PcdSetupConOutColumn, PcdSetupConOutRow, PcdSetupVideoHorizontalResolution, 
PcdSetupVideoVerticalResolution

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <[email protected]>
CC: Liming Gao <[email protected]>
---
 MdeModulePkg/MdeModulePkg.dec | 23 ++++++++++++++++++++
 MdePkg/MdePkg.dec             | 11 ++++++++++
 2 files changed, 34 insertions(+)

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


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to