MdeModulePkg: Rename confusion function name

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1536

To avoid the confusion caused by function name,
rename EfiBootManagerGetNextFullDevicePath to
EfiBootManagerGetNextLoadOptionDevicePath.
As an API function should add EFIAPI prefix for this function.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
Chen A Chen 2019-02-20 16:42:50 +08:00 committed by Liming Gao
parent 5170327b71
commit 68a4e15e14
3 changed files with 5 additions and 3 deletions

View File

@ -355,7 +355,7 @@ GetEfiSysPartitionFromBootOptionFilePath (
//
do {
PreFullPath = CurFullPath;
CurFullPath = EfiBootManagerGetNextFullDevicePath (DevicePath, CurFullPath);
CurFullPath = EfiBootManagerGetNextLoadOptionDevicePath (DevicePath, CurFullPath);
if (PreFullPath != NULL) {
FreePool (PreFullPath);

View File

@ -460,7 +460,8 @@ EfiBootManagerGetBootManagerMenu (
Caller is responsible to free the memory.
**/
EFI_DEVICE_PATH_PROTOCOL *
EfiBootManagerGetNextFullDevicePath (
EFIAPI
EfiBootManagerGetNextLoadOptionDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
IN EFI_DEVICE_PATH_PROTOCOL *FullPath
);

View File

@ -2482,7 +2482,8 @@ EfiBootManagerGetBootManagerMenu (
Caller is responsible to free the memory.
**/
EFI_DEVICE_PATH_PROTOCOL *
EfiBootManagerGetNextFullDevicePath (
EFIAPI
EfiBootManagerGetNextLoadOptionDevicePath (
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
IN EFI_DEVICE_PATH_PROTOCOL *FullPath
)