diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-27 10:35:54 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-27 10:35:54 +0000 |
commit | a95f236bd3dc8238c0f3a211cee479259efae9e4 (patch) | |
tree | 4f5dde106bb714018294e5393134c38b8d02c2b7 /IntelFrameworkModulePkg | |
parent | d4cb8e71acf7090430464fe3abb0cd858c5a94b0 (diff) | |
download | edk2-platforms-a95f236bd3dc8238c0f3a211cee479259efae9e4.tar.xz |
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
Diffstat (limited to 'IntelFrameworkModulePkg')
-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 ecbaea5948..8e885fa5f7 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 2cfff6ad9d..e88f169b4f 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
/**
|