summaryrefslogtreecommitdiff
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-29 01:05:44 +0000
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>2010-04-29 01:05:44 +0000
commit932d66a970dee3c96bad4eb61d7c14b6e92f2843 (patch)
tree804a8c875542cd65c66d390c8ce87c64f80eac50 /MdePkg/Library
parent4e716b677a6647541549744d05d49a44a51d3eb9 (diff)
downloadedk2-platforms-932d66a970dee3c96bad4eb61d7c14b6e92f2843.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@10441 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BasePrintLib/PrintLibInternal.c1
-rw-r--r--MdePkg/Library/BasePrintLib/PrintLibInternal.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.c b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
index e7e2964d4f..6ed034615a 100644
--- a/MdePkg/Library/BasePrintLib/PrintLibInternal.c
+++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.c
@@ -911,6 +911,7 @@ BasePrintLibSPrintMarker (
**/
UINTN
+EFIAPI
BasePrintLibSPrint (
OUT CHAR8 *StartOfBuffer,
IN UINTN BufferSize,
diff --git a/MdePkg/Library/BasePrintLib/PrintLibInternal.h b/MdePkg/Library/BasePrintLib/PrintLibInternal.h
index 4c1658a1ce..52ac6d8d5f 100644
--- a/MdePkg/Library/BasePrintLib/PrintLibInternal.h
+++ b/MdePkg/Library/BasePrintLib/PrintLibInternal.h
@@ -102,6 +102,7 @@ BasePrintLibSPrintMarker (
**/
UINTN
+EFIAPI
BasePrintLibSPrint (
OUT CHAR8 *StartOfBuffer,
IN UINTN BufferSize,