diff options
author | Eric Dong <eric.dong@intel.com> | 2019-01-04 13:37:29 +0800 |
---|---|---|
committer | Eric Dong <eric.dong@intel.com> | 2019-01-14 10:29:29 +0800 |
commit | 7217b8796d2727db76cd6684ba706c3b643b1d62 (patch) | |
tree | 3042362a806e8bf1f7863bc74eae6de7e03cf410 /BaseTools/Source/Python/Workspace/MetaFileTable.py | |
parent | a6416d91c32e785259a8c07e1e2b767b754965b5 (diff) | |
download | edk2-7217b8796d2727db76cd6684ba706c3b643b1d62.tar.gz edk2-7217b8796d2727db76cd6684ba706c3b643b1d62.tar.bz2 edk2-7217b8796d2727db76cd6684ba706c3b643b1d62.zip |
UefiCpuPkg/RegisterCpuFeaturesLib: Avoid AP calls PeiService.
V3:
Define union to specify the ppi or protocol.
V2:
1. Initialize CpuFeaturesData->MpService in CpuInitDataInitialize
and make this function been called at the begin of the
initialization.
2. let all other functions use CpuFeaturesData->MpService install
of locate the protocol itself.
V1:
GetProcessorIndex function calls GetMpPpi to get the MP Ppi.
Ap will calls GetProcessorIndex function which final let AP calls
PeiService.
This patch avoid GetProcessorIndex call PeiService.
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1411
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileTable.py')
0 files changed, 0 insertions, 0 deletions