Skip to content

Commit

Permalink
Added Raptor Lake C0 stepping model (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
al3xtjames committed Jun 23, 2023
1 parent 6a538f3 commit 3be92e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lilu/Headers/kern_cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ namespace CPUInfo {
CPU_MODEL_ROCKETLAKE_S = 0xA7, /* desktop RocketLake */
CPU_MODEL_TIGERLAKE_U = 0x8C,
CPU_MODEL_ALDERLAKE_S = 0x97,
CPU_MODEL_RAPTORLAKE_S = 0xB7,
CPU_MODEL_RAPTORLAKE_S = 0xB7, /* Raptor Lake B0 stepping */
CPU_MODEL_RAPTORLAKE_HX = 0xBF, /* Raptor Lake C0 stepping */
};

/**
Expand Down
1 change: 1 addition & 0 deletions Lilu/Sources/kern_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ void CPUInfo::init() {
bdi.cpuGeneration = CpuGeneration::AlderLake;
break;
case CPU_MODEL_RAPTORLAKE_S:
case CPU_MODEL_RAPTORLAKE_HX:
bdi.cpuGeneration = CpuGeneration::RaptorLake;
break;
default:
Expand Down

0 comments on commit 3be92e3

Please sign in to comment.