]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h
UefiCpuPkg: Check invalid RegisterCpuFeature parameter
[mirror_edk2.git] / UefiCpuPkg / Include / Library / RegisterCpuFeaturesLib.h
index 9331e49d13ed7f77c61f1e87b90fb74f3570c585..fc3ccda1ba7893eda1718135dfe4083e7532e273 100644 (file)
 #define CPU_FEATURE_APIC_TPR_UPDATE_MESSAGE         (32+9)\r
 #define CPU_FEATURE_ENERGY_PERFORMANCE_BIAS         (32+10)\r
 #define CPU_FEATURE_PPIN                            (32+11)\r
+//\r
+// Currently, CPU_FEATURE_PROC_TRACE is the MAX feature we support.\r
+// If you define a feature bigger than it, please also replace it\r
+// in RegisterCpuFeatureLibIsFeatureValid function.\r
+//\r
 #define CPU_FEATURE_PROC_TRACE                      (32+12)\r
 \r
 #define CPU_FEATURE_BEFORE_ALL                      BIT27\r