diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2021-02-17 13:32:26 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-03-08 18:07:32 +0000 |
commit | e542e05d4fc2e4aeae752db5d429e2f4650cd5ee (patch) | |
tree | ea6fb3e71e6c5aa9f81dd160513a74a09f9b4e30 /BaseTools/Source/Python/sitecustomize.py | |
parent | 2002e950eafa62eb9ba28b5e4ed62f0d7d22b88c (diff) | |
download | edk2-e542e05d4fc2e4aeae752db5d429e2f4650cd5ee.tar.gz edk2-e542e05d4fc2e4aeae752db5d429e2f4650cd5ee.tar.bz2 edk2-e542e05d4fc2e4aeae752db5d429e2f4650cd5ee.zip |
UefiCpuPkg/SmmCpuFeaturesLib: Abstract PcdCpuMaxLogicalProcessorNumber
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3218
Adds a new function called GetCpuMaxLogicalProcessorNumber() to
return the number of maximum CPU logical processors (currently
gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber).
This allows the the mechanism used to retrieve the CPU maximum
logical processor number to be abstracted from the logic that
needs the value.
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210217213227.1277-5-mikuback@linux.microsoft.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions