]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.c
UefiCpuPkg/UefiCpuLib: Add GetCpuFamilyModel and GetCpuSteppingId
authorNi, Ray <ray.ni@intel.com>
Tue, 19 Oct 2021 06:42:21 +0000 (14:42 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 10 Nov 2021 04:28:08 +0000 (04:28 +0000)
commitf826b20811ba6b0a9dbe44ff703b85c2def267df
treee4ef9067ca7fcd4a33f816b79ec8e911d2a1e57a
parenta7b35aae13b2d69b9be68874f275f511b1367a5e
UefiCpuPkg/UefiCpuLib: Add GetCpuFamilyModel and GetCpuSteppingId

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3698

Lots of code relies on CPU Family/Model/Stepping for different logics.

The change adds two APIs for such needs.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
UefiCpuPkg/Include/Library/UefiCpuLib.h
UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.c