mirror of https://github.com/acidanthera/audk.git
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:
parent
5170327b71
commit
68a4e15e14
|
@ -355,7 +355,7 @@ GetEfiSysPartitionFromBootOptionFilePath (
|
||||||
//
|
//
|
||||||
do {
|
do {
|
||||||
PreFullPath = CurFullPath;
|
PreFullPath = CurFullPath;
|
||||||
CurFullPath = EfiBootManagerGetNextFullDevicePath (DevicePath, CurFullPath);
|
CurFullPath = EfiBootManagerGetNextLoadOptionDevicePath (DevicePath, CurFullPath);
|
||||||
|
|
||||||
if (PreFullPath != NULL) {
|
if (PreFullPath != NULL) {
|
||||||
FreePool (PreFullPath);
|
FreePool (PreFullPath);
|
||||||
|
|
|
@ -460,7 +460,8 @@ EfiBootManagerGetBootManagerMenu (
|
||||||
Caller is responsible to free the memory.
|
Caller is responsible to free the memory.
|
||||||
**/
|
**/
|
||||||
EFI_DEVICE_PATH_PROTOCOL *
|
EFI_DEVICE_PATH_PROTOCOL *
|
||||||
EfiBootManagerGetNextFullDevicePath (
|
EFIAPI
|
||||||
|
EfiBootManagerGetNextLoadOptionDevicePath (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FullPath
|
IN EFI_DEVICE_PATH_PROTOCOL *FullPath
|
||||||
);
|
);
|
||||||
|
|
|
@ -2482,7 +2482,8 @@ EfiBootManagerGetBootManagerMenu (
|
||||||
Caller is responsible to free the memory.
|
Caller is responsible to free the memory.
|
||||||
**/
|
**/
|
||||||
EFI_DEVICE_PATH_PROTOCOL *
|
EFI_DEVICE_PATH_PROTOCOL *
|
||||||
EfiBootManagerGetNextFullDevicePath (
|
EFIAPI
|
||||||
|
EfiBootManagerGetNextLoadOptionDevicePath (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FullPath
|
IN EFI_DEVICE_PATH_PROTOCOL *FullPath
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue