mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
6a9bc80154
commit
bdf0da37c9
|
@ -1305,6 +1305,7 @@ BootMaintCallback (
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
EFIAPI
|
||||||
CreateBootOptionFromFile (
|
CreateBootOptionFromFile (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
||||||
);
|
);
|
||||||
|
@ -1318,6 +1319,7 @@ CreateBootOptionFromFile (
|
||||||
@retval FALSE Not exit caller function.
|
@retval FALSE Not exit caller function.
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
EFIAPI
|
||||||
CreateDriverOptionFromFile (
|
CreateDriverOptionFromFile (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
||||||
);
|
);
|
||||||
|
@ -1332,6 +1334,7 @@ CreateDriverOptionFromFile (
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
EFIAPI
|
||||||
BootFromFile (
|
BootFromFile (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
||||||
);
|
);
|
||||||
|
|
|
@ -857,6 +857,7 @@ GetDriverOrder (
|
||||||
@retval FALSE Not exit caller function.
|
@retval FALSE Not exit caller function.
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
EFIAPI
|
||||||
BootFromFile (
|
BootFromFile (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
||||||
)
|
)
|
||||||
|
@ -929,6 +930,7 @@ ReSendForm(
|
||||||
@retval FALSE Not exit caller function.
|
@retval FALSE Not exit caller function.
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
EFIAPI
|
||||||
CreateBootOptionFromFile (
|
CreateBootOptionFromFile (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
||||||
)
|
)
|
||||||
|
@ -946,6 +948,7 @@ CreateBootOptionFromFile (
|
||||||
|
|
||||||
**/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
EFIAPI
|
||||||
CreateDriverOptionFromFile (
|
CreateDriverOptionFromFile (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
IN EFI_DEVICE_PATH_PROTOCOL *FilePath
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue