EmbeddedPkg: Add EFIAPI to several Ebl functions

The EFIAPI function declaration is missing for several functions in the
EmbeddedPkg/Ebl directory. A few function pointer struct members expect
EFIAPI though and GCC46/X64 will fail to compile the directory without
them.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Thomas Palmer <thomas.palmer@hpe.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18697 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Thomas Palmer
2015-10-29 12:59:06 +00:00
committed by abiesheuvel
parent 419a271d2e
commit 50c6a4d2d4
12 changed files with 46 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -256,6 +257,7 @@ CountNewLines (
**/
EFI_STATUS
EFIAPI
EblHelpCmd (
IN UINTN Argc,
IN CHAR8 **Argv
@@ -313,6 +315,7 @@ EblHelpCmd (
**/
EFI_STATUS
EFIAPI
EblExitCmd (
IN UINTN Argc,
IN CHAR8 **Argv
@@ -418,6 +421,7 @@ EblPauseCallback (
**/
EFI_STATUS
EFIAPI
EblPauseCmd (
IN UINTN Argc,
IN CHAR8 **Argv
@@ -452,6 +456,7 @@ EblPauseCmd (
**/
EFI_STATUS
EFIAPI
EblBreakPointCmd (
IN UINTN Argc,
IN CHAR8 **Argv
@@ -478,6 +483,7 @@ EblBreakPointCmd (
**/
EFI_STATUS
EFIAPI
EblResetCmd (
IN UINTN Argc,
IN CHAR8 **Argv
@@ -518,6 +524,7 @@ EblResetCmd (
**/
EFI_STATUS
EFIAPI
EblPageCmd (
IN UINTN Argc,
IN CHAR8 **Argv
@@ -542,6 +549,7 @@ EblPageCmd (
}
EFI_STATUS
EFIAPI
EblSleepCmd (
IN UINTN Argc,
IN CHAR8 **Argv
@@ -741,6 +749,7 @@ WidthFromCommandName (
**/
EFI_STATUS
EFIAPI
EblHexdumpCmd (
IN UINTN Argc,
IN CHAR8 **Argv