diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-11-01 10:45:37 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-11-02 09:16:21 +0800 |
commit | 262128e5ab9edda666586c7dda3f2b0f53c0c557 (patch) | |
tree | 37045c08e1b799178109ed19df4428265815b752 /UefiCpuPkg/PiSmmCpuDxeSmm | |
parent | 63998d7cd4f573c41fe0e018257f6d7012218cc2 (diff) | |
download | edk2-262128e5ab9edda666586c7dda3f2b0f53c0c557.tar.gz edk2-262128e5ab9edda666586c7dda3f2b0f53c0c557.tar.bz2 edk2-262128e5ab9edda666586c7dda3f2b0f53c0c557.zip |
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>
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm')
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c b/UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c index 93ebb9ec73..29f3a58939 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/CpuService.c @@ -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,
|