summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BasePrintLib
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/BasePrintLib
parent4e716b677a6647541549744d05d49a44a51d3eb9 (diff)
downloadedk2-932d66a970dee3c96bad4eb61d7c14b6e92f2843.zip
edk2-932d66a970dee3c96bad4eb61d7c14b6e92f2843.tar.gz
edk2-932d66a970dee3c96bad4eb61d7c14b6e92f2843.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@10441 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BasePrintLib')
-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 e7e2964..6ed0346 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 4c1658a..52ac6d8 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,