diff --git a/Include/Acidanthera/Library/OcCpuLib.h b/Include/Acidanthera/Library/OcCpuLib.h index ac78daa1..01370c26 100755 --- a/Include/Acidanthera/Library/OcCpuLib.h +++ b/Include/Acidanthera/Library/OcCpuLib.h @@ -54,6 +54,7 @@ typedef enum { OcCpuGenerationCannonLake, OcCpuGenerationIceLake, OcCpuGenerationTigerLake, + OcCpuGenerationAlderLake, OcCpuGenerationMaxGeneration } OC_CPU_GENERATION; diff --git a/Library/OcCpuLib/OcCpuLib.c b/Library/OcCpuLib/OcCpuLib.c index 40ae8fe4..7592541e 100755 --- a/Library/OcCpuLib/OcCpuLib.c +++ b/Library/OcCpuLib/OcCpuLib.c @@ -1362,6 +1362,9 @@ InternalDetectIntelProcessorGeneration ( case CPU_MODEL_TIGERLAKE_U: CpuGeneration = OcCpuGenerationTigerLake; break; + case CPU_MODEL_ALDERLAKE_S: + CpuGeneration = OcCpuGenerationAlderLake; + break; default: if (CpuInfo->Model < CPU_MODEL_PENRYN) { CpuGeneration = OcCpuGenerationPrePenryn;