]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Forcing functions with variable argument lists to use the same calling convention...
authorgeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 29 Apr 2010 01:05:44 +0000 (01:05 +0000)
committergeekboy15a <geekboy15a@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 29 Apr 2010 01:05:44 +0000 (01:05 +0000)
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
MdePkg/Library/BasePrintLib/PrintLibInternal.h

index e7e2964d4f3245ac64b5eed1ff0c67e709d645f0..6ed034615af2959af22aea655e6282dbedb1ee9b 100644 (file)
@@ -911,6 +911,7 @@ BasePrintLibSPrintMarker (
 \r
 **/\r
 UINTN\r
+EFIAPI\r
 BasePrintLibSPrint (\r
   OUT CHAR8        *StartOfBuffer,\r
   IN  UINTN        BufferSize,\r
index 4c1658a1ce7ba8e4041e1ec570970dbb5d2a11c7..52ac6d8d5f8cb04ac58542382fdeb1f425aaf9ae 100644 (file)
@@ -102,6 +102,7 @@ BasePrintLibSPrintMarker (
 \r
 **/\r
 UINTN\r
+EFIAPI\r
 BasePrintLibSPrint (\r
   OUT CHAR8        *StartOfBuffer,\r
   IN  UINTN        BufferSize,\r