From: Jeff Fan Date: Tue, 1 Nov 2016 02:48:18 +0000 (+0800) Subject: UefiCpuPkg/LocalApicLib: Add EFIAPI for GetProcessorLocationByApicId() X-Git-Tag: edk2-stable201903~5383 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1c8ca9a012ce19a1096625ef9e810036e8346827;hp=262128e5ab9edda666586c7dda3f2b0f53c0c557;p=mirror_edk2.git 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 Cc: Michael Kinney Cc: Feng Tian Signed-off-by: Jeff Fan Reviewed-by: Michael Kinney Reviewed-by: Leo Duran --- 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,