mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcCpuLib: Fix processor generation
This commit is contained in:
parent
13af8ec14a
commit
4073b8afae
@ -54,6 +54,7 @@ typedef enum {
|
||||
OcCpuGenerationCannonLake,
|
||||
OcCpuGenerationIceLake,
|
||||
OcCpuGenerationTigerLake,
|
||||
OcCpuGenerationAlderLake,
|
||||
OcCpuGenerationMaxGeneration
|
||||
} OC_CPU_GENERATION;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user