diff options
author | Dandan Bi <dandan.bi@intel.com> | 2016-03-22 10:38:01 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-03-23 16:03:52 +0800 |
commit | bdf0da37c92fc544100f8a809fcd8ceee67c045d (patch) | |
tree | 71166dff703289af2e21a6b060e662042ca77972 /MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c | |
parent | 6a9bc80154dd8771bc6f76b9b6c7579753e86e50 (diff) | |
download | edk2-platforms-bdf0da37c92fc544100f8a809fcd8ceee67c045d.tar.xz |
MdeModulePkg/BootMaintManagerUiLib: Declare EFIAPI for ChooseFile handler
The BootMaintenanceManagerUiLib use ChooseFile() from FileExplorerLib
to select files. And the third parameter in ChooseFile() is CHOOSE_HANDLER,
per the definition of CHOOSE_HANDLER, it must use EFIAPI as the calling
convention. But the calling convention was not specified for following
handlers: CreateBootOptionFromFile, CreateDriverOptionFromFile,
BootFromFile. Now specifies the calling convention for those functions.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c')
-rw-r--r-- | MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c index 0bd3170872..7a014c911b 100644 --- a/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c +++ b/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c @@ -857,6 +857,7 @@ GetDriverOrder ( @retval FALSE Not exit caller function.
**/
BOOLEAN
+EFIAPI
BootFromFile (
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
)
@@ -929,6 +930,7 @@ ReSendForm( @retval FALSE Not exit caller function.
**/
BOOLEAN
+EFIAPI
CreateBootOptionFromFile (
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
)
@@ -946,6 +948,7 @@ CreateBootOptionFromFile ( **/
BOOLEAN
+EFIAPI
CreateDriverOptionFromFile (
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
)
|