# Binary INF file to support toggle among different CPU architectures.\r
INF FatBinPkg/EnhancedFatDxe/Fat.inf\r
\r
-FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {\r
+FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
}\r
\r
// from the graphic lib\r
//\r
if (QuietBoot) {\r
- Status = EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
+ Status = EnableQuietBoot (PcdGetPtr(PcdLogoFile));\r
if (EFI_ERROR (Status)) {\r
DisableQuietBoot ();\r
return;\r
\r
#include <Protocol/PciIo.h>\r
\r
-#include <Guid/Logo.h>\r
#include <Guid/Acpi.h>\r
#include <Guid/SmBios.h>\r
#include <Guid/Mps.h>\r
gEfiAcpiTableGuid\r
\r
[Pcd]\r
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut
\ No newline at end of file
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut \r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile \r
+
\ No newline at end of file
+++ /dev/null
-/** @file\r
- This file defines the File GUID for default BMP logo file.\r
-\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef _LOGO_GUID_H__\r
-#define _LOGO_GUID_H__\r
-\r
-#define EFI_DEFAULT_BMP_LOGO_GUID \\r
- {0x7BB28B99,0x61BB,0x11d5,{0x9A,0x5D,0x00,0x90,0x27,0x3F,0xC1,0x4D}}\r
-\r
-extern EFI_GUID gEfiDefaultBmpLogoGuid;\r
-\r
-#endif\r
+++ /dev/null
-/** @file\r
- This file defines File GUID for EFI Shell.\r
-\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef _SHELLFILE_H_\r
-#define _SHELLFILE_H_\r
-\r
-#define EFI_SHELL_FILE_GUID \\r
- { 0xc57ad6b7, 0x0515, 0x40a8, {0x9d, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4e, 0x37 } }\r
-\r
-\r
-extern EFI_GUID gEfiShellFileGuid;\r
-\r
-#endif\r
## Include/Guid/LzmaDecompress.h\r
gLzmaCustomDecompressGuid = { 0xEE4E5898, 0x3914, 0x4259, { 0x9D, 0x6E, 0xDC, 0x7B, 0xD7, 0x94, 0x03, 0xCF }}\r
\r
- ## Guid specify the default BMP logo file.\r
- ## Include/Guid/Logo.h\r
- gEfiDefaultBmpLogoGuid = { 0x7BB28B99, 0x61BB, 0x11D5, { 0x9A, 0x5D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }}\r
- \r
- ## Guid specify the Shell application.\r
- ## Include/Guid/ShellFile.h\r
- gEfiShellFileGuid = { 0xC57AD6B7, 0x0515, 0x40A8, { 0x9D, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4E, 0x37 }}\r
-\r
## GUID used to pass DEBUG() macro information through the Status Code Protocol and Status Code PPI\r
## Include/Guid/StatusCodeDataTypeDebug.h\r
gEfiStatusCodeDataTypeDebugGuid = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusOnlySupportSlaveDma|FALSE|BOOLEAN|0x00010041\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSupportIsaMemory|TRUE|BOOLEAN|0x00010042\r
\r
+[PcdsFixedAtBuild]\r
+ ## FFS filename to find the default BMP Logo file.\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile |{ 0x99, 0x8b, 0xB2, 0x7B, 0xBB, 0x61, 0xD5, 0x11, 0x9A, 0x5D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }|VOID*|16\r
+\r
+ ## FFS filename to find the shell application.\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0xB7, 0xD6, 0x7A, 0xC5, 0x15, 0x05, 0xA8, 0x40, 0x9D, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4E, 0x37 }|VOID*|16\r
+\r
[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]\r
## PcdStatusCodeMemorySize is used when PcdStatusCodeUseMemory is set to true\r
# (PcdStatusCodeMemorySize * KBytes) is the total taken memory size.\r
//\r
// If the boot option point to Internal FV shell, make sure it is valid\r
//\r
- Status = BdsLibUpdateFvFileDevicePath (&DevicePath, &gEfiShellFileGuid);\r
+ Status = BdsLibUpdateFvFileDevicePath (&DevicePath, PcdGetPtr(PcdShellFile));\r
if (!EFI_ERROR(Status)) {\r
if (Option->DevicePath != NULL) {\r
FreePool(Option->DevicePath);\r
\r
Status = Fv->ReadFile (\r
Fv,\r
- &gEfiShellFileGuid,\r
+ PcdGetPtr(PcdShellFile),\r
NULL,\r
&Size,\r
&Type,\r
//\r
// Build the shell device path\r
//\r
- EfiInitializeFwVolDevicepathNode (&ShellNode, &gEfiShellFileGuid);\r
+ EfiInitializeFwVolDevicepathNode (&ShellNode, PcdGetPtr(PcdShellFile));\r
\r
DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *) &ShellNode);\r
\r
// If the boot option point to Internal FV shell, make sure it is valid\r
//\r
TempDevicePath = DevPath; \r
- Status = BdsLibUpdateFvFileDevicePath (&TempDevicePath, &gEfiShellFileGuid);\r
+ Status = BdsLibUpdateFvFileDevicePath (&TempDevicePath, PcdGetPtr(PcdShellFile));\r
if (Status == EFI_ALREADY_STARTED) {\r
return TRUE;\r
} else {\r
gEfiMemoryTypeInformationGuid ## CONSUMES ## GUID (The identifier of memory type information type in system table)\r
## CONSUMES ## GUID HOB (The hob holding memory type information)\r
gEfiVTUTF8Guid ## CONSUMES ## GUID (The type of terminal)\r
- gEfiShellFileGuid ## CONSUMES ## GUID (Identify the shell file)\r
gEfiGlobalVariableGuid ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot)\r
## SOMETIMES_CONSUMES ## Variable:L"BootXX" (Boot option variable)\r
## CONSUMES ## Variable:L"Timeout" (The time out value in second of showing progress bar)\r
gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES\r
gEfiSecurityArchProtocolGuid # PROTOCOL CONSUMES\r
\r
-[FeaturePcd.common]\r
+[FeaturePcd]\r
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport\r
\r
+[Pcd]\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile\r
#include <Guid/FileInfo.h>\r
#include <Guid/GlobalVariable.h>\r
#include <Guid/PcAnsi.h>\r
-#include <Guid/ShellFile.h>\r
#include <Guid/Performance.h>\r
\r
#include <Library/PrintLib.h>\r
// from the graphic lib\r
//\r
if (QuietBoot) {\r
- EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
+ EnableQuietBoot (PcdGetPtr(PcdLogoFile));\r
//\r
// Perform system diagnostic\r
//\r
\r
#include <Protocol/WinNtThunk.h>\r
#include <Protocol/WinNtIo.h>\r
-#include <Guid/Logo.h>\r
#include <Guid/WinNtSystemConfig.h>\r
\r
extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[];\r
GenericBdsLib\r
\r
[Guids]\r
- gEfiDefaultBmpLogoGuid\r
gEfiWinNtSystemConfigGuid\r
\r
[Pcd.common]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut\r
- \r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile\r
+\r
[Depex]\r
gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid\r
INF MdeModulePkg/Universal/PrintDxe/PrintDxe.inf\r
INF RuleOverride = TIANOCOMPRESSED MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf\r
INF IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf\r
-INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf ##This driver follows UEFI specification definition\r
-INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf ##This driver follows UEFI specification definition\r
+INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf\r
+INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf\r
INF IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf\r
INF Nt32Pkg/WinNtBusDriverDxe/WinNtBusDriverDxe.inf\r
INF Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIoDxe.inf\r
# for binary shell, binary fat and logo module.\r
#\r
################################################################################\r
-FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 {\r
- SECTION COMPRESS PI_STD {\r
- SECTION GUIDED {\r
- SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi\r
- }\r
- }\r
+FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {\r
+ SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi\r
}\r
\r
FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F {\r
SECTION PE32 = FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi\r
}\r
\r
-FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {\r
+FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
}\r
\r
// from the graphic lib\r
//\r
if (QuietBoot) {\r
- EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
+ EnableQuietBoot (PcdGetPtr(PcdLogoFile));\r
//\r
// Perform system diagnostic\r
//\r
#include <Protocol/PciIo.h>\r
#include <Protocol/FirmwareVolume2.h>\r
\r
-#include <Guid/Logo.h>\r
#include <Guid/Acpi.h>\r
#include <Guid/SmBios.h>\r
#include <Guid/Mps.h>\r
#include <Guid/HobList.h>\r
-//#include <Guid/PciExpressBaseAddress.h>\r
#include <Guid/GlobalVariable.h>\r
-#include <Guid/ShellFile.h>\r
\r
extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[];\r
extern EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[];\r
GenericBdsLib\r
PciLib\r
\r
-[Guids]\r
- gEfiDefaultBmpLogoGuid\r
-\r
[Pcd.common]\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile\r
\r
[Pcd.IA32, Pcd.X64]\r
gEfiMdePkgTokenSpaceGuid.PcdFSBClock\r
\r
INF EdkShellBinPkg/FullShell/FullShell.inf\r
\r
-FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {\r
+FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress\r
SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
}\r
SECTION PE32 = FatBinPkg/EnhancedFatDxe/X64/Fat.efi\r
}\r
\r
-FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 {\r
+FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {\r
SECTION PE32 = EdkShellBinPkg/FullShell/X64/Shell_full.efi\r
}\r
\r
-FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {\r
+FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
SECTION GUIDED EE4E5898-3914-4259-9D6E-DC7BD79403CF PROCESSING_REQUIRED = TRUE { # LzmaCompress\r
SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r
}\r
// from the graphic lib\r
//\r
if (QuietBoot) {\r
- EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
+ EnableQuietBoot (PcdGetPtr(PcdLogoFile));\r
//\r
// Perform system diagnostic\r
//\r
\r
#include <Protocol/UnixThunk.h>\r
#include <Protocol/UnixIo.h>\r
-#include <Guid/Logo.h>\r
#include <Guid/UnixSystemConfig.h>\r
\r
extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[];\r
\r
\r
[Guids]\r
- gEfiDefaultBmpLogoGuid # ALWAYS_CONSUMED
gEfiUnixSystemConfigGuid\r
\r
[Pcd.common]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutRow\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConOutColumn\r
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut\r
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile\r
\r
[Depex]\r
gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid\r
# for binary shell, binary fat and logo module.\r
# \r
################################################################################\r
-FILE APPLICATION = c57ad6b7-0515-40a8-9d21-551652854e37 {\r
+FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) {\r
SECTION COMPRESS PI_STD {\r
SECTION GUIDED {\r
SECTION PE32 = EdkShellBinPkg/FullShell/Ia32/Shell_Full.efi\r
}\r
}\r
}\r
+\r
FILE DRIVER = 961578FE-B6B7-44c3-AF35-6BC705CD2B1F {\r
SECTION COMPRESS PI_STD {\r
SECTION GUIDED {\r
}\r
}\r
}\r
-FILE FREEFORM = 7BB28B99-61BB-11D5-9A5D-0090273FC14D {\r
+\r
+FILE FREEFORM = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile) {\r
SECTION COMPRESS PI_STD {\r
SECTION GUIDED {\r
SECTION RAW = MdeModulePkg/Logo/Logo.bmp\r