From d46f36324fa86c08386f57c2675c45e4c1e888ec Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 9 Jul 2009 05:48:35 +0000 Subject: Retire Logo and Shell guid header file, which are replaced by gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8829 6f19259b-4bc3-4df7-8a09-765794883524 --- UnixPkg/Library/UnixBdsLib/BdsPlatform.c | 2 +- UnixPkg/Library/UnixBdsLib/BdsPlatform.h | 1 - UnixPkg/Library/UnixBdsLib/PlatformBds.inf | 2 +- UnixPkg/UnixPkg.fdf | 6 ++++-- 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'UnixPkg') diff --git a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c index cbbfc4e..bac2cfd 100644 --- a/UnixPkg/Library/UnixBdsLib/BdsPlatform.c +++ b/UnixPkg/Library/UnixBdsLib/BdsPlatform.c @@ -281,7 +281,7 @@ Returns: // from the graphic lib // if (QuietBoot) { - EnableQuietBoot (&gEfiDefaultBmpLogoGuid); + EnableQuietBoot (PcdGetPtr(PcdLogoFile)); // // Perform system diagnostic // diff --git a/UnixPkg/Library/UnixBdsLib/BdsPlatform.h b/UnixPkg/Library/UnixBdsLib/BdsPlatform.h index 4fd8bf1..3f85315 100644 --- a/UnixPkg/Library/UnixBdsLib/BdsPlatform.h +++ b/UnixPkg/Library/UnixBdsLib/BdsPlatform.h @@ -37,7 +37,6 @@ Abstract: #include #include -#include #include extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[]; diff --git a/UnixPkg/Library/UnixBdsLib/PlatformBds.inf b/UnixPkg/Library/UnixBdsLib/PlatformBds.inf index 10a2631..1a5604d 100644 --- a/UnixPkg/Library/UnixBdsLib/PlatformBds.inf +++ b/UnixPkg/Library/UnixBdsLib/PlatformBds.inf @@ -55,13 +55,13 @@ [Guids] - gEfiDefaultBmpLogoGuid # ALWAYS_CONSUMED gEfiUnixSystemConfigGuid [Pcd.common] gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut + gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile [Depex] gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid diff --git a/UnixPkg/UnixPkg.fdf b/UnixPkg/UnixPkg.fdf index cff6984..bae66cd 100644 --- a/UnixPkg/UnixPkg.fdf +++ b/UnixPkg/UnixPkg.fdf @@ -247,13 +247,14 @@ INF MdeModulePkg/Application/HelloWorld/HelloWorld.inf # for binary shell, binary fat and logo module. # ################################################################################ -FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 { +FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) { SECTION COMPRESS PI_STD { SECTION GUIDED { SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi } } } + FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F { SECTION COMPRESS PI_STD { SECTION GUIDED { @@ -261,7 +262,8 @@ FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F { } } } -FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D { + +FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) { SECTION COMPRESS PI_STD { SECTION GUIDED { SECTION RAW = MdeModulePkg/Logo/Logo.bmp -- cgit v1.1