diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-24 01:01:48 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-11-24 01:01:48 +0000 |
commit | 32bc1227a5a75fe086970420f98c91e500fd88cb (patch) | |
tree | 39e990ff9d402c1bf3e593098b17bc5f2db797ec /IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec | |
parent | 21d13c61561c465a4d4cfe0f0d188765fc8ae3b9 (diff) | |
download | edk2-32bc1227a5a75fe086970420f98c91e500fd88cb.tar.gz edk2-32bc1227a5a75fe086970420f98c91e500fd88cb.tar.bz2 edk2-32bc1227a5a75fe086970420f98c91e500fd88cb.zip |
Update console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which are specially for BIOS setup.
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12770 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec')
-rw-r--r-- | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec index 3be1df61e7..e81379d480 100644 --- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec +++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec @@ -152,6 +152,26 @@ # This PCD should be set as HII type PCD by platform integrator mapped to variable L"HwErrRecSupport"
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|0|UINT16|0x40000002
+[PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
+ ## 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|0x50000001
+
+ ## The PCD is used to specify the video vertical resolution of text setup.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupVideoVerticalResolution|600|UINT32|0x50000002
+
+ ## The PCD is used to specify the console output column of text setup.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutColumn|80|UINT32|0x50000003
+
+ ## The PCD is used to specify the console output column of text setup.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdSetupConOutRow|25|UINT32|0x50000004
+
[PcdsFixedAtBuild, PcdsDynamic, PcdsDynamicEx, PcdsPatchableInModule]
## I/O Base address of floppy device controller.
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdFdcBaseAddress|0x3f0|UINT16|0x30000000
@@ -195,22 +215,4 @@ ## 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 +
\ No newline at end of file |