diff options
-rw-r--r-- | IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc | 10 | ||||
-rw-r--r-- | IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h | 11 |
2 files changed, 14 insertions, 7 deletions
diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc index ecbaea5..8e885fa 100644 --- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc +++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dsc @@ -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
\ No newline at end of file diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h index 2cfff6a..e88f169 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h @@ -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
/**
|