summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-06-15 02:46:49 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-06-15 02:46:49 +0000
commit124969632baca7860874beab946d30431c062f58 (patch)
tree63b613208eab7c8079de00e5b9a96439e42eff85
parent19e2bfe8f001d8dd093c5e87016decdc39d7eaa3 (diff)
downloadedk2-platforms-124969632baca7860874beab946d30431c062f58.tar.xz
EdkCompatibilityPkg: Fix EFIAPI usage inconsistencies
These inconsistencies cause a build error for GCC 4.4 X64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10587 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.c1
-rw-r--r--EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/EfiCpuVersion.c1
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/EfiPerf.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Perf.c4
4 files changed, 10 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.c b/EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.c
index 5b5416dc2a..699b120759 100644
--- a/EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.c
+++ b/EdkCompatibilityPkg/Compatibility/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk/PiSmmStatusCodeOnFrameworkSmmStatusCodeThunk.c
@@ -213,6 +213,7 @@ ReportDispatcher (
**/
EFI_STATUS
+EFIAPI
SmmStatusCodeHandler (
IN EFI_STATUS_CODE_TYPE CodeType,
IN EFI_STATUS_CODE_VALUE Value,
diff --git a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/EfiCpuVersion.c b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/EfiCpuVersion.c
index fd4e8f6084..f1c3c38bd4 100644
--- a/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/EfiCpuVersion.c
+++ b/EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/EfiCpuVersion.c
@@ -21,6 +21,7 @@ Abstract:
#include "CpuIA32.h"
VOID
+EFIAPI
EfiCpuVersion (
IN OUT UINT16 *FamilyId, OPTIONAL
IN OUT UINT8 *Model, OPTIONAL
diff --git a/EdkCompatibilityPkg/Foundation/Include/EfiPerf.h b/EdkCompatibilityPkg/Foundation/Include/EfiPerf.h
index 8dd5f5deb5..cdc10b027b 100644
--- a/EdkCompatibilityPkg/Foundation/Include/EfiPerf.h
+++ b/EdkCompatibilityPkg/Foundation/Include/EfiPerf.h
@@ -25,6 +25,7 @@ Abstract:
#include EFI_PROTOCOL_DEFINITION (Performance)
EFI_STATUS
+EFIAPI
InitializePerformanceInfrastructure (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable,
@@ -50,6 +51,7 @@ Returns:
;
EFI_STATUS
+EFIAPI
EndMeasure (
IN EFI_HANDLE Handle,
IN UINT16 *Token,
@@ -77,6 +79,7 @@ Returns:
;
EFI_STATUS
+EFIAPI
StartMeasure (
IN EFI_HANDLE Handle,
IN UINT16 *Token,
@@ -104,6 +107,7 @@ Returns:
;
EFI_STATUS
+EFIAPI
UpdateMeasure (
IN EFI_HANDLE Handle,
IN UINT16 *Token,
diff --git a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Perf.c b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Perf.c
index 96f11bb44d..b8809d18b6 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Perf.c
+++ b/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/Perf.c
@@ -590,6 +590,7 @@ Returns:
// Driver entry point
//
EFI_STATUS
+EFIAPI
InitializePerformanceInfrastructure (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable,
@@ -649,6 +650,7 @@ Returns:
EFI_STATUS
+EFIAPI
StartMeasure (
EFI_HANDLE Handle,
IN UINT16 *Token,
@@ -688,6 +690,7 @@ Returns:
EFI_STATUS
+EFIAPI
EndMeasure (
EFI_HANDLE Handle,
IN UINT16 *Token,
@@ -726,6 +729,7 @@ Returns:
EFI_STATUS
+EFIAPI
UpdateMeasure (
EFI_HANDLE Handle,
IN UINT16 *Token,