diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-29 01:07:07 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-29 01:07:07 +0000 |
commit | 8091267c0261f9de15bc9ce0cf6e373ee3447c91 (patch) | |
tree | a0832cb8efe7556d39f1307092d088a439d8abcc | |
parent | 932d66a970dee3c96bad4eb61d7c14b6e92f2843 (diff) | |
download | edk2-8091267c0261f9de15bc9ce0cf6e373ee3447c91.zip edk2-8091267c0261f9de15bc9ce0cf6e373ee3447c91.tar.gz edk2-8091267c0261f9de15bc9ce0cf6e373ee3447c91.tar.bz2 |
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
-rw-r--r-- | MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c | 1 | ||||
-rw-r--r-- | MdeModulePkg/Universal/EbcDxe/Ipf/EbcSupport.c | 1 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Print.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Ui.c | 2 | ||||
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Ui.h | 1 |
6 files changed, 9 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c index 627d876..e8ee5c5 100644 --- a/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c +++ b/MdeModulePkg/Universal/DevicePathDxe/DevicePathToText.c @@ -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,
diff --git a/MdeModulePkg/Universal/EbcDxe/Ipf/EbcSupport.c b/MdeModulePkg/Universal/EbcDxe/Ipf/EbcSupport.c index cdaae87..cf21cc7 100644 --- a/MdeModulePkg/Universal/EbcDxe/Ipf/EbcSupport.c +++ b/MdeModulePkg/Universal/EbcDxe/Ipf/EbcSupport.c @@ -80,6 +80,7 @@ PushU64 ( **/
UINT64
+EFIAPI
EbcInterpret (
UINT64 Arg1,
...
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Print.c b/MdeModulePkg/Universal/SetupBrowserDxe/Print.c index 1f97ed4..941d095 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Print.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Print.c @@ -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,
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h index 51d6b88..5239b44 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h @@ -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,
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c index fecb024..0d3c1eb 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.c @@ -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,
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h index cdd661c..362f8e7 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h @@ -389,6 +389,7 @@ UiWaitForSingleEvent ( **/
VOID
+EFIAPI
CreateMultiStringPopUp (
IN UINTN ScreenWidth,
IN UINTN NumberOfLines,
|