summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg
diff options
context:
space:
mode:
authorJeff Fan <jeff.fan@intel.com>2016-11-01 10:48:18 +0800
committerJeff Fan <jeff.fan@intel.com>2016-11-02 09:17:04 +0800
commit1c8ca9a012ce19a1096625ef9e810036e8346827 (patch)
tree70203d0e86185464ac884bab5c6693c93721f091 /UefiCpuPkg
parent262128e5ab9edda666586c7dda3f2b0f53c0c557 (diff)
downloadedk2-1c8ca9a012ce19a1096625ef9e810036e8346827.tar.gz
edk2-1c8ca9a012ce19a1096625ef9e810036e8346827.tar.bz2
edk2-1c8ca9a012ce19a1096625ef9e810036e8346827.zip
UefiCpuPkg/LocalApicLib: Add EFIAPI for GetProcessorLocationByApicId()
We need to add EFIAPI for all interface service including library API. Contributed-under: TianoCore Contribution Agreement 1.0 Cc: Leo Duran <leo.duran@amd.com> Cc: Michael Kinney <Michael.d.kinney@intel.com> Cc: Feng Tian <feng.tian@intel.com> Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Michael Kinney <Michael.d.kinney@intel.com> Reviewed-by: Leo Duran <leo.duran@amd.com>
Diffstat (limited to 'UefiCpuPkg')
-rw-r--r--UefiCpuPkg/Include/Library/LocalApicLib.h1
-rw-r--r--UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c1
-rw-r--r--UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/UefiCpuPkg/Include/Library/LocalApicLib.h b/UefiCpuPkg/Include/Library/LocalApicLib.h
index a1611f17dd..fc980bc1f2 100644
--- a/UefiCpuPkg/Include/Library/LocalApicLib.h
+++ b/UefiCpuPkg/Include/Library/LocalApicLib.h
@@ -424,6 +424,7 @@ GetApicMsiValue (
@param[out] Thread Returns the processor thread ID.
**/
VOID
+EFIAPI
GetProcessorLocationByApicId (
IN UINT32 InitialApicId,
OUT UINT32 *Package OPTIONAL,
diff --git a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
index 8384913bf4..4064049807 100644
--- a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
+++ b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
@@ -955,6 +955,7 @@ GetApicMsiValue (
@param[out] Thread Returns the processor thread ID.
**/
VOID
+EFIAPI
GetProcessorLocationByApicId (
IN UINT32 InitialApicId,
OUT UINT32 *Package OPTIONAL,
diff --git a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
index 1e3c03905c..9720d26e60 100644
--- a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
+++ b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
@@ -1050,6 +1050,7 @@ GetApicMsiValue (
@param[out] Thread Returns the processor thread ID.
**/
VOID
+EFIAPI
GetProcessorLocationByApicId (
IN UINT32 InitialApicId,
OUT UINT32 *Package OPTIONAL,