summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe
diff options
context:
space:
mode:
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-29 01:07:07 +0000
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-29 01:07:07 +0000
commit8091267c0261f9de15bc9ce0cf6e373ee3447c91 (patch)
treea0832cb8efe7556d39f1307092d088a439d8abcc /MdeModulePkg/Universal/SetupBrowserDxe
parent932d66a970dee3c96bad4eb61d7c14b6e92f2843 (diff)
downloadedk2-platforms-8091267c0261f9de15bc9ce0cf6e373ee3447c91.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Print.c2
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Setup.h2
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.c2
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.h1
4 files changed, 7 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Print.c b/MdeModulePkg/Universal/SetupBrowserDxe/Print.c
index 1f97ed43b6..941d0958f9 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 51d6b882b7..5239b44caa 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 fecb0248bd..0d3c1ebce8 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 cdd661ca99..362f8e7d60 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,