Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17419
6f19259b-4bc3-4df7-8a09-
765794883524
// 5. Load EFI boot option to ImageHandle
//
ImageHandle = NULL;
// 5. Load EFI boot option to ImageHandle
//
ImageHandle = NULL;
- if (BmDevicePathType (BootOption->FilePath) != BBS_DEVICE_PATH) {
+ if (DevicePathType (BootOption->FilePath) != BBS_DEVICE_PATH) {
Status = EFI_NOT_FOUND;
FileBuffer = BmGetLoadOptionBuffer (BootOption->FilePath, &FilePath, &FileSize);
DEBUG_CODE (
Status = EFI_NOT_FOUND;
FileBuffer = BmGetLoadOptionBuffer (BootOption->FilePath, &FilePath, &FileSize);
DEBUG_CODE (