MdeModulePkg/UefiBootManagerLib: Expose *GetLoadOptionBuffer() API
Expose EfiBootManagerGetLoadOptionBuffer() API. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
@@ -1281,7 +1281,7 @@ EfiBootManagerProcessLoadOption (
|
||||
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber
|
||||
));
|
||||
ImageHandle = NULL;
|
||||
FileBuffer = BmGetLoadOptionBuffer (LoadOption->FilePath, &FilePath, &FileSize);
|
||||
FileBuffer = EfiBootManagerGetLoadOptionBuffer (LoadOption->FilePath, &FilePath, &FileSize);
|
||||
DEBUG_CODE (
|
||||
if (FileBuffer != NULL && CompareMem (LoadOption->FilePath, FilePath, GetDevicePathSize (FilePath)) != 0) {
|
||||
DEBUG ((EFI_D_INFO, "[Bds] DevicePath expand: "));
|
||||
|
Reference in New Issue
Block a user