UefiCpuPkg/Include/Library: Add Register CPU Features Library

Register CPU Features Library is used to register/manage/program CPU features.
NULL CPU features library instance could consume it register CPU features
functions.
CPU Feature module could consume this library to detect/analysis/program CPU
features on BSP/APs.

v4:
  Fix GCC build issue.

Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
Jeff Fan
2017-03-07 16:35:40 +08:00
parent e000e774cd
commit 548013c07f
2 changed files with 521 additions and 0 deletions

View File

@@ -29,6 +29,11 @@
##
UefiCpuLib|Include/Library/UefiCpuLib.h
## @libraryclass Defines some routines that are used to register/manage/program
## CPU features.
##
UefiCpuLib|Include/Library/RegisterCpuFeaturesLib.h
[LibraryClasses.IA32, LibraryClasses.X64]
## @libraryclass Provides functions to manage MTRR settings on IA32 and X64 CPUs.
##