Skip to content

Commit

Permalink
Added Raptor Lake CPU model (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
al3xtjames committed Dec 30, 2022
1 parent d062fcf commit 9f849ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lilu/Headers/kern_cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ namespace CPUInfo {
CPU_MODEL_ROCKETLAKE_S = 0xA7, /* desktop RocketLake */
CPU_MODEL_TIGERLAKE_U = 0x8C,
CPU_MODEL_ALDERLAKE_S = 0x97,
CPU_MODEL_RAPTORLAKE_S = 0xB7,
};

/**
Expand Down Expand Up @@ -126,6 +127,7 @@ namespace CPUInfo {
RocketLake,
TigerLake,
AlderLake,
RaptorLake,
MaxGeneration
};

Expand Down
3 changes: 3 additions & 0 deletions Lilu/Sources/kern_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ void CPUInfo::init() {
case CPU_MODEL_ALDERLAKE_S:
bdi.cpuGeneration = CpuGeneration::AlderLake;
break;
case CPU_MODEL_RAPTORLAKE_S:
bdi.cpuGeneration = CpuGeneration::RaptorLake;
break;
default:
bdi.cpuGeneration = CpuGeneration::Unknown;
break;
Expand Down

0 comments on commit 9f849ef

Please sign in to comment.