/** @file\r
*\r
-* Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
+* Copyright (c) 2011-2015, ARM Limited. All rights reserved.\r
*\r
* This program and the accompanying materials\r
* are licensed and made available under the terms and conditions of the BSD License\r
#define LOAD_OPTION_ENTRY_FROM_LINK(a) BASE_CR(a, BDS_LOAD_OPTION_ENTRY, Link)\r
#define LOAD_OPTION_FROM_LINK(a) ((BDS_LOAD_OPTION_ENTRY*)BASE_CR(a, BDS_LOAD_OPTION_ENTRY, Link))->BdsLoadOption\r
\r
+// GUID of the EFI Linux Loader\r
+extern CONST EFI_GUID mLinuxLoaderAppGuid;\r
+\r
+// Device path of the EFI Linux Loader in the Firmware Volume\r
+extern EFI_DEVICE_PATH* mLinuxLoaderDevicePath;\r
+\r
EFI_STATUS\r
BootDeviceListSupportedInit (\r
IN OUT LIST_ENTRY *SupportedDeviceList\r
OUT BOOLEAN *Value\r
);\r
\r
-BOOLEAN\r
-HasFilePathEfiExtension (\r
- IN CHAR16* FilePath\r
- );\r
-\r
EFI_DEVICE_PATH*\r
GetLastDevicePathNode (\r
IN EFI_DEVICE_PATH* DevicePath\r
IN VOID *Context\r
);\r
\r
+/**\r
+ * This function check if the DevicePath defines an EFI binary\r
+ *\r
+ * This function is used when the BDS support Linux loader to\r
+ * detect if the binary is an EFI application or potentially a\r
+ * Linux kernel.\r
+ */\r
+EFI_STATUS\r
+IsEfiBinary (\r
+ IN EFI_DEVICE_PATH* DevicePath,\r
+ OUT BOOLEAN *EfiBinary\r
+ );\r
+\r
#endif /* _BDSINTERNAL_H_ */\r