From 932d66a970dee3c96bad4eb61d7c14b6e92f2843 Mon Sep 17 00:00:00 2001 From: geekboy15a Date: Thu, 29 Apr 2010 01:05:44 +0000 Subject: [PATCH] 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 --- MdePkg/Library/BasePrintLib/PrintLibInternal.c | 1 + MdePkg/Library/BasePrintLib/PrintLibInternal.h | 1 + 2 files changed, 2 insertions(+) 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, -- 2.39.2