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 * CHAR16 *
EFIAPI
CatPrint ( CatPrint (
IN OUT POOL_PRINT *Str, IN OUT POOL_PRINT *Str,
IN CHAR16 *Fmt, IN CHAR16 *Fmt,

View File

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

View File

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

View File

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

View File

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

View File

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