From 32bc1227a5a75fe086970420f98c91e500fd88cb Mon Sep 17 00:00:00 2001 From: li-elvin Date: Thu, 24 Nov 2011 01:01:48 +0000 Subject: 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 --- .../IntelFrameworkModulePkg.dec | 40 ++++++++++++---------- 1 file changed, 21 insertions(+), 19 deletions(-) (limited to 'IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec') 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 -- cgit v1.2.3