Forcing functions with variable argument lists to use the same calling convention (EFIAPI). This solves issues when using compilers where the default calling convention is not EFIAPI.

This fixes boot issues when using GCC 4.4 in X64 modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10442 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
geekboy15a 2010-04-29 01:07:07 +00:00
parent 932d66a970
commit 8091267c02
6 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
CHAR16 *
EFIAPI
CatPrint (
IN OUT POOL_PRINT *Str,
IN CHAR16 *Fmt,

View File

@ -80,6 +80,7 @@ PushU64 (
**/
UINT64
EFIAPI
EbcInterpret (
UINT64 Arg1,
...

View File

@ -145,6 +145,7 @@ PrintInternal (
**/
UINTN
EFIAPI
ConsolePrint (
IN CHAR16 *Fmt,
...
@ -206,6 +207,7 @@ PrintChar (
**/
UINTN
EFIAPI
PrintAt (
IN UINTN Column,
IN UINTN Row,

View File

@ -633,6 +633,7 @@ PrintChar (
**/
UINTN
EFIAPI
PrintAt (
IN UINTN Column,
IN UINTN Row,
@ -800,6 +801,7 @@ CreateSharedPopUp (
**/
EFI_STATUS
EFIAPI
CreateDialog (
IN UINTN NumberOfLines,
IN BOOLEAN HotKey,

View File

@ -678,6 +678,7 @@ UiAddMenuOption (
**/
EFI_STATUS
EFIAPI
CreateDialog (
IN UINTN NumberOfLines,
IN BOOLEAN HotKey,
@ -978,6 +979,7 @@ CreateSharedPopUp (
**/
VOID
EFIAPI
CreateMultiStringPopUp (
IN UINTN RequestedWidth,
IN UINTN NumberOfLines,

View File

@ -389,6 +389,7 @@ UiWaitForSingleEvent (
**/
VOID
EFIAPI
CreateMultiStringPopUp (
IN UINTN ScreenWidth,
IN UINTN NumberOfLines,