MdeModulePkg/Bds: Refine the code to load file from FV.
authorRuiyu Ni <ruiyu.ni@intel.com>
Mon, 11 Jan 2016 06:14:26 +0000 (14:14 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Fri, 4 Mar 2016 08:00:50 +0000 (16:00 +0800)
commit525839edebbf92b64af73820cd0b1e0f8c6cb06b
tree1e8e1ecc31cb108fa4d23f42316f7ca1c5779f65
parent4f0f2316ed7699e233b362b83c7fbd63c2adf97e
MdeModulePkg/Bds: Refine the code to load file from FV.

Change BmGetFileBufferByMemmapFv to BmGetFileBufferByFvFilePath.
The original function gets the file buffer only from memory mapped
FV device path and leaves GUIDed FV device path to the code below;
The new function gets the file buffer from both formats of FV device
paths.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c