diff options
author | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-29 01:05:44 +0000 |
---|---|---|
committer | geekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-04-29 01:05:44 +0000 |
commit | 932d66a970dee3c96bad4eb61d7c14b6e92f2843 (patch) | |
tree | 804a8c875542cd65c66d390c8ce87c64f80eac50 | |
parent | 4e716b677a6647541549744d05d49a44a51d3eb9 (diff) | |
download | edk2-932d66a970dee3c96bad4eb61d7c14b6e92f2843.tar.gz edk2-932d66a970dee3c96bad4eb61d7c14b6e92f2843.tar.bz2 edk2-932d66a970dee3c96bad4eb61d7c14b6e92f2843.zip |
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
-rw-r--r-- | MdePkg/Library/BasePrintLib/PrintLibInternal.c | 1 | ||||
-rw-r--r-- | MdePkg/Library/BasePrintLib/PrintLibInternal.h | 1 |
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,
|