Define EFI_REMOVABLE_MEDIA_FILE_NAME for EBC architecture in GenericBdsLib library instance, because UEFI specification does not define it for EBC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7730 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2009-02-27 10:35:54 +00:00
parent d4cb8e71ac
commit a95f236bd3
2 changed files with 14 additions and 7 deletions

View File

@ -215,6 +215,7 @@
IntelFrameworkModulePkg/Library/BaseReportStatusCodeLib/BaseReportStatusCodeLib.inf
IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
IntelFrameworkModulePkg/Library/PlatformBdsLibNull/PlatformBdsLibNull.inf
IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
@ -234,17 +235,12 @@
IntelFrameworkModulePkg/Universal/PcatSingleSegmentPciCfgPei/PcatSingleSegmentPciCfgPei.inf
IntelFrameworkModulePkg/Universal/VariablePei/VariablePei.inf
IntelFrameworkModulePkg/Universal/Legacy8259Dxe/8259.inf
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
[Components.IA32]
IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
[Components.X64]
IntelFrameworkModulePkg/Universal/StatusCode/Dxe/DxeStatusCode.inf
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
[Components.IPF]
IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf
IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf

View File

@ -68,6 +68,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/PcdLib.h>
#include <Library/DxeServicesLib.h>
#if !defined (EFI_REMOVABLE_MEDIA_FILE_NAME)
#if defined (MDE_CPU_EBC)
//
// Uefi specification only defines the default boot file name for IA32, X64
// and IPF processor, so need define boot file name for EBC architecture here.
//
#define EFI_REMOVABLE_MEDIA_FILE_NAME L"\\EFI\\BOOT\\BOOTEBC.EFI"
#else
#error "Can not determine the default boot file name for unknown processor type!"
#endif
#endif
/**