]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/BootMaintManagerUiLib: Declare EFIAPI for ChooseFile handler
authorDandan Bi <dandan.bi@intel.com>
Tue, 22 Mar 2016 02:38:01 +0000 (10:38 +0800)
committerFeng Tian <feng.tian@intel.com>
Wed, 23 Mar 2016 08:03:52 +0000 (16:03 +0800)
commitbdf0da37c92fc544100f8a809fcd8ceee67c045d
tree71166dff703289af2e21a6b060e662042ca77972
parent6a9bc80154dd8771bc6f76b9b6c7579753e86e50
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>
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManager.h
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c