mirror of https://github.com/acidanthera/audk.git
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:
parent
63998d7cd4
commit
262128e5ab
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1325,7 +1325,7 @@ MpInitLibGetProcessorInfo (
|
|||
//
|
||||
// Get processor location information
|
||||
//
|
||||
GetProcessorLocation (
|
||||
GetProcessorLocationByApicId (
|
||||
CpuMpData->CpuData[ProcessorNumber].ApicId,
|
||||
&ProcessorInfoBuffer->Location.Package,
|
||||
&ProcessorInfoBuffer->Location.Core,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue