mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-29 00:24:07 +02:00
UefiCpuPkg/PiSmmCpuDxeSmm: Get processor extended information
This patch is to extend SmmAddProcessor function to get processor extended information. It's to complete commit 1fadd18d. Cc: Laszlo Ersek <lersek@redhat.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Rahul Kumar <rahul1.kumar@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Star Zeng <star.zeng@intel.com> Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20231115111553.6592-3-jiaxin.wu@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
parent
ad0b1cc144
commit
7eb5040607
@ -171,6 +171,16 @@ SmmAddProcessor (
|
||||
&gSmmCpuPrivate->ProcessorInfo[Index].Location.Thread
|
||||
);
|
||||
|
||||
GetProcessorLocation2ByApicId (
|
||||
(UINT32)ProcessorId,
|
||||
&gSmmCpuPrivate->ProcessorInfo[Index].ExtendedInformation.Location2.Package,
|
||||
&gSmmCpuPrivate->ProcessorInfo[Index].ExtendedInformation.Location2.Die,
|
||||
&gSmmCpuPrivate->ProcessorInfo[Index].ExtendedInformation.Location2.Tile,
|
||||
&gSmmCpuPrivate->ProcessorInfo[Index].ExtendedInformation.Location2.Module,
|
||||
&gSmmCpuPrivate->ProcessorInfo[Index].ExtendedInformation.Location2.Core,
|
||||
&gSmmCpuPrivate->ProcessorInfo[Index].ExtendedInformation.Location2.Thread
|
||||
);
|
||||
|
||||
*ProcessorNumber = Index;
|
||||
gSmmCpuPrivate->Operation[Index] = SmmCpuAdd;
|
||||
return EFI_SUCCESS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user