IN CHAR16 Char\r
);\r
\r
-\r
-/**\r
- Get the file buffer from the file system produced by Load File instance.\r
-\r
- @param LoadFileHandle The handle of LoadFile instance.\r
- @param FullPath Return the full device path pointing to the load option.\r
- @param FileSize Return the size of the load option.\r
-\r
- @return The load option buffer.\r
-**/\r
-VOID *\r
-BmGetFileBufferFromLoadFileFileSystem (\r
- IN EFI_HANDLE LoadFileHandle,\r
- OUT EFI_DEVICE_PATH_PROTOCOL **FullPath,\r
- OUT UINTN *FileSize\r
- );\r
-\r
/**\r
Return the boot description for the controller.\r
\r
EFI_BOOT_MANAGER_LOAD_OPTION *BootOptions,\r
UINTN BootOptionCount\r
);\r
+\r
+/**\r
+ Get the file buffer from the specified Load File instance.\r
+\r
+ @param LoadFileHandle The specified Load File instance.\r
+ @param FilePath The file path which will pass to LoadFile().\r
+ @param FullPath Return the full device path pointing to the load option.\r
+ @param FileSize Return the size of the load option.\r
+\r
+ @return The load option buffer or NULL if fails.\r
+**/\r
+VOID *\r
+BmGetFileBufferFromLoadFile (\r
+ EFI_HANDLE LoadFileHandle,\r
+ IN EFI_DEVICE_PATH_PROTOCOL *FilePath,\r
+ OUT EFI_DEVICE_PATH_PROTOCOL **FullPath,\r
+ OUT UINTN *FileSize\r
+ );\r
#endif // _INTERNAL_BM_H_\r