UefiCpuPkg/LocalApicLib: Rename GetProcessorLocation()

GetProcessorLocation() is too generic and will conflict with the API defined in
Galileo Board Software Package v1.0.0.

This update is just to rename GetProcessorLocation() to one specific name
GetProcessorLocationByApicId().

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>
This commit is contained in:
Jeff Fan 2016-11-01 10:45:37 +08:00
parent 63998d7cd4
commit 262128e5ab
5 changed files with 5 additions and 5 deletions

View File

@ -424,7 +424,7 @@ GetApicMsiValue (
@param[out] Thread Returns the processor thread ID.
**/
VOID
GetProcessorLocation(
GetProcessorLocationByApicId (
IN UINT32 InitialApicId,
OUT UINT32 *Package OPTIONAL,
OUT UINT32 *Core OPTIONAL,

View File

@ -955,7 +955,7 @@ GetApicMsiValue (
@param[out] Thread Returns the processor thread ID.
**/
VOID
GetProcessorLocation(
GetProcessorLocationByApicId (
IN UINT32 InitialApicId,
OUT UINT32 *Package OPTIONAL,
OUT UINT32 *Core OPTIONAL,

View File

@ -1050,7 +1050,7 @@ GetApicMsiValue (
@param[out] Thread Returns the processor thread ID.
**/
VOID
GetProcessorLocation(
GetProcessorLocationByApicId (
IN UINT32 InitialApicId,
OUT UINT32 *Package OPTIONAL,
OUT UINT32 *Core OPTIONAL,

View File

@ -1325,7 +1325,7 @@ MpInitLibGetProcessorInfo (
//
// Get processor location information
//
GetProcessorLocation (
GetProcessorLocationByApicId (
CpuMpData->CpuData[ProcessorNumber].ApicId,
&ProcessorInfoBuffer->Location.Package,
&ProcessorInfoBuffer->Location.Core,

View File

@ -161,7 +161,7 @@ SmmAddProcessor (
gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId == INVALID_APIC_ID) {
gSmmCpuPrivate->ProcessorInfo[Index].ProcessorId = ProcessorId;
gSmmCpuPrivate->ProcessorInfo[Index].StatusFlag = 0;
GetProcessorLocation (
GetProcessorLocationByApicId (
(UINT32)ProcessorId,
&gSmmCpuPrivate->ProcessorInfo[Index].Location.Package,
&gSmmCpuPrivate->ProcessorInfo[Index].Location.Core,