]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Rename confusion function name
authorChen A Chen <chen.a.chen@intel.com>
Wed, 20 Feb 2019 08:42:50 +0000 (16:42 +0800)
committerLiming Gao <liming.gao@intel.com>
Mon, 25 Feb 2019 01:14:21 +0000 (09:14 +0800)
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>
MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c
MdeModulePkg/Include/Library/UefiBootManagerLib.h
MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c

index f6e46cbdb184a91340343689f22b16311af19d25..4ff69af1b4c75632cab681b8952faea7e34687f4 100644 (file)
@@ -355,7 +355,7 @@ GetEfiSysPartitionFromBootOptionFilePath (
   //\r
   do {\r
     PreFullPath = CurFullPath;\r
-    CurFullPath = EfiBootManagerGetNextFullDevicePath (DevicePath, CurFullPath);\r
+    CurFullPath = EfiBootManagerGetNextLoadOptionDevicePath (DevicePath, CurFullPath);\r
 \r
     if (PreFullPath != NULL) {\r
       FreePool (PreFullPath);\r
index 64347ff1608654bd93b985b73dd3f92f43bc3c15..69678a62ca4666ce638acfb1c2cdb70f0caa7d72 100644 (file)
@@ -460,7 +460,8 @@ EfiBootManagerGetBootManagerMenu (
           Caller is responsible to free the memory.\r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
-EfiBootManagerGetNextFullDevicePath (\r
+EFIAPI\r
+EfiBootManagerGetNextLoadOptionDevicePath (\r
   IN  EFI_DEVICE_PATH_PROTOCOL          *FilePath,\r
   IN  EFI_DEVICE_PATH_PROTOCOL          *FullPath\r
   );\r
index 9be1633b74806fae21614aa3d75fe35563ea4028..d5957db610d93c7d49dbce89bec00ce29fd2d030 100644 (file)
@@ -2482,7 +2482,8 @@ EfiBootManagerGetBootManagerMenu (
           Caller is responsible to free the memory.\r
 **/\r
 EFI_DEVICE_PATH_PROTOCOL *\r
-EfiBootManagerGetNextFullDevicePath (\r
+EFIAPI\r
+EfiBootManagerGetNextLoadOptionDevicePath (\r
   IN  EFI_DEVICE_PATH_PROTOCOL          *FilePath,\r
   IN  EFI_DEVICE_PATH_PROTOCOL          *FullPath\r
   )\r