diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-08 07:34:56 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-08 07:34:56 +0000 |
commit | 72861c22e50f41572b1f3e682b7126b5c57718c5 (patch) | |
tree | 2de3e15ff8e2f31a14e914585e03fffaa0851ec8 /IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec | |
parent | f98c2685597a15bbc01637777b831717e52424fe (diff) | |
download | edk2-72861c22e50f41572b1f3e682b7126b5c57718c5.tar.gz edk2-72861c22e50f41572b1f3e682b7126b5c57718c5.tar.bz2 edk2-72861c22e50f41572b1f3e682b7126b5c57718c5.zip |
Introduce video resolution and text mode PCDs for BIOS setup in BDS module. User can use these PCDs to customize video resolution and text mode for setup when launching BIOS setup.
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12671 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec')
-rw-r--r-- | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec index 709b2bd33b..c5b2da847c 100644 --- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec +++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec @@ -192,3 +192,22 @@ ## The PCD is used to specify the high PMM (Post Memory Manager) size with bytes above 1MB.
# The value should be a multiple of 4KB.
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHighPmmMemorySize|0x400000|UINT32|0x3000000a
+
+ ## 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 in MdeModulePkg.dec 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.
+
+ ## The PCD is used to specify the video horizontal resolution of text setup.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupVideoHorizontalResolution|800|UINT32|0x3000000b
+
+ ## The PCD is used to specify the video vertical resolution of text setup.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600|UINT32|0x3000000c
+
+ ## The PCD is used to specify the console output column of text setup.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutColumn|80|UINT32|0x3000000d
+
+ ## The PCD is used to specify the console output column of text setup.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x3000000e
\ No newline at end of file |