summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-06 06:04:38 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-06 06:04:38 +0000
commite1adae6084df21ca30aae2fa23abbbe30f588b20 (patch)
tree07456e54c2bd49186867a29ce09c748820a30098 /MdeModulePkg
parent641370270f9b0386ca273c187bde8e6083c7cb98 (diff)
downloadedk2-platforms-e1adae6084df21ca30aae2fa23abbbe30f588b20.tar.xz
DuetPkg, MdeModulePkg: Fix variable services hang with GCC44 X64
The C ellipses parameters are passed to functions differently by default with GCC 4.4. To make sure they are properly sent to VariableGetBestLanguage, we add 'EFIAPI' to this function. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11119 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c1
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c
index e0cd873f96..cd0023671e 100644
--- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c
+++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c
@@ -572,6 +572,7 @@ GetLangFromSupportedLangCodes (
**/
CHAR8 *
+EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
IN BOOLEAN Iso639Language,
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index 8123338112..dca3e30370 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -1248,6 +1248,7 @@ GetLangFromSupportedLangCodes (
**/
CHAR8 *
+EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
IN BOOLEAN Iso639Language,