From 2db4a77e609a2dbe9ea53bcdd9dcb884f10bc6b8 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Mon, 23 Feb 2009 03:09:14 +0000 Subject: [PATCH] Update MdeModulePkg package surface area: 1. Retire Print protocol 2. Retire platform variable GUID 3. Merge Performance Protocol GUID C Name, Pei Performance HOB, and performance variable 4. Introduce dynamic PCD: PcdConOutRow, PcdConOutColumn for console output mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7573 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/MdeModulePkg.dec | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 386b0a0f70..a99044806e 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -161,14 +161,6 @@ ## Include/Guid/CapsuleVendor.h gEfiCapsuleVendorGuid = { 0x711C703F, 0xC285, 0x4B10, { 0xA3, 0xB0, 0x36, 0xEC, 0xBD, 0x3C, 0x8B, 0xE2 }} - ## Performance guid for the performance entry in the HOB list - ## Include/Guid/PeiPerformanceHob.h - gPeiPerformanceHobGuid = { 0xEC4DF5AF, 0x4395, 0x4CC9, { 0x94, 0xDE, 0x77, 0x50, 0x6D, 0x12, 0xC7, 0xB8 }} - - ## The genenic platform guid for EFI variable. - ## Include/Guid/GenericPlatformVariable.h - gEfiGenericPlatformVariableGuid = { 0x59d1c24f, 0x50f1, 0x401a, { 0xb1, 0x01, 0xf3, 0x3e, 0x0d, 0xae, 0xd4, 0x43 }} - ## Guid specify the Shell application. ## Include/Guid/ShellFile.h gEfiShellFileGuid = { 0xC57AD6B7, 0x0515, 0x40A8, { 0x9D, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4E, 0x37 }} @@ -188,6 +180,10 @@ ## Platform Override Variable guid ## Include/Guid/OverrideVariable.h gEfiOverrideVariableGuid = { 0x8e3d4ad5, 0xf762, 0x438a, { 0xa1, 0xc1, 0x5b, 0x9f, 0xe6, 0x8c, 0x6b, 0x15 }} + + ## Performance protocol guid that also acts as the performance HOB guid and performance variable GUID + ## Include/Guid/Performance.h + gPerformanceProtocolGuid = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }} [Protocols.common] ## Capsule Arch protocol specify capsule runtime services are installed. @@ -198,10 +194,6 @@ ## Include/Protocol/LoadPe32Image.h gEfiLoadPeImageProtocolGuid = { 0x5CB5C776, 0x60D5, 0x45EE, { 0x88, 0x3C, 0x45, 0x27, 0x08, 0xCD, 0x74, 0x3F }} - ## Print protocol defines only one basic print function. - ## Include/Protocol/Print.h - gEfiPrintProtocolGuid = { 0xdf2d868e, 0x32fc, 0x4cf0, {0x8e, 0x6b, 0xff, 0xd9, 0x5d, 0x13, 0x43, 0xd0} } - ## Print protocol defines six basic print functions to print the format unicode and ascii string. ## Include/Protocol/Print2.h gEfiPrint2ProtocolGuid = { 0x5bcc3dbc, 0x8c57, 0x450a, { 0xbb, 0x0c, 0xa1, 0xc0, 0xbd, 0xde, 0x48, 0x0c }} @@ -231,10 +223,6 @@ ## Include/Protocol/OEMBadging.h gEfiOEMBadgingProtocolGuid = { 0x170E13C0, 0xBF1B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }} - ## Performance protocol interfaces to support cross module performance logging. - ## Include/Protocol/Performance.h - gPerformanceProtocolGuid = { 0x76B6BDFA, 0x2ACD, 0x4462, { 0x9E, 0x3F, 0xCB, 0x58, 0xC9, 0x69, 0xD9, 0x37 }} - ## Protocol guid is defined for CRC32 encapsulation scheme. ## Include/Protocol/Crc32GuidedSectionExtraction.h gEfiCrc32GuidedSectionExtractionProtocolGuid = { 0xFC1BCDB0, 0x7D31, 0x49aa, {0x93, 0x6A, 0xA4, 0x60, 0x0D, 0x9D, 0xD0, 0x83 } } @@ -492,6 +480,16 @@ ## gEfiMdeModulePkgTokenSpaceGuid.PcdHelloWorldPrintTimes|1|UINT32|0x40000005 + ## + # This PCD defines the Console output column and the default value is 25 according to UEFI spec + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow|25|UINT32|0x40000006 + + ## + # This PCD defines the Console output row and the default value is 80 according to UEFI spec + ## + gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn|80|UINT32|0x40000007 + [PcdsPatchableInModule.common] ## Maximun number of performance log entries during PEI phase. gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f