Skip to content

Commit e21feb5

Browse files
committed
more new processors
Signed-off-by: Slice <sergey.slice@gmail.com>
1 parent cd0baeb commit e21feb5

4 files changed

Lines changed: 18 additions & 2 deletions

File tree

Include/Acidanthera/Library/OcCpuLib.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ typedef enum {
5656
OcCpuGenerationIceLake,
5757
OcCpuGenerationTigerLake,
5858
OcCpuGenerationAlderLake,
59+
OcCpuGenerationRaptorLake,
60+
OcCpuGenerationArrowLake,
5961
OcCpuGenerationMaxGeneration
6062
} OC_CPU_GENERATION;
6163

Include/Intel/IndustryStandard/ProcessorInfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ typedef enum {
254254
#define CPU_MODEL_RAPTORLAKE_B 0xBF /* 13h Raptor Lake, i5-13400h */
255255
#define CPU_MODEL_METEORLAKE 0xAA /* 14h Meteor Lake */
256256
#define CPU_MODEL_ARROWLAKE 0xC6
257+
#define CPU_MODEL_ARROWLAKE_X 0xC5 /* 15h Arrow Lake */
258+
#define CPU_MODEL_ARROWLAKE_U 0xB5 /* 15h Arrow Lake */
257259

258260

259261
#define AMD_CPU_FAMILY 0xF

Library/OcCpuLib/AppleCpuSupport.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,8 @@ InternalDetectAppleProcessorType (
616616
case CPU_MODEL_RAPTORLAKE:
617617
case CPU_MODEL_METEORLAKE:
618618
case CPU_MODEL_ARROWLAKE:
619+
case CPU_MODEL_ARROWLAKE_X:
620+
case CPU_MODEL_ARROWLAKE_U:
619621
if (AppleMajorType == AppleProcessorMajorM3) {
620622
// MB101 (m3 7Y32)
621623
return AppleProcessorTypeCoreM3Type7; // 0x0C07

Library/OcCpuLib/OcCpuLib.c

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,11 +1463,21 @@ InternalDetectIntelProcessorGeneration (
14631463
CpuGeneration = OcCpuGenerationTigerLake;
14641464
break;
14651465
case CPU_MODEL_ALDERLAKE_S:
1466-
case CPU_MODEL_RAPTORLAKE:
1467-
case CPU_MODEL_METEORLAKE:
1466+
14681467
case CPU_MODEL_ALDERLAKE_ULT:
1468+
CpuGeneration = OcCpuGenerationAlderLake;
1469+
break;
14691470
case CPU_MODEL_RAPTORLAKE_B:
1471+
case CPU_MODEL_RAPTORLAKE:
1472+
case CPU_MODEL_METEORLAKE:
1473+
CpuGeneration = OcCpuGenerationRaptorLake;
1474+
break;
14701475
case CPU_MODEL_ARROWLAKE:
1476+
case CPU_MODEL_ARROWLAKE_X:
1477+
case CPU_MODEL_ARROWLAKE_U:
1478+
CpuGeneration = OcCpuGenerationArrowLake;
1479+
break;
1480+
14711481

14721482
CpuGeneration = OcCpuGenerationAlderLake;
14731483
break;

0 commit comments

Comments
 (0)