Skip to content

Commit

Permalink
Merge branch 'acidanthera:master' into yaming-network
Browse files Browse the repository at this point in the history
  • Loading branch information
wy414012 authored Nov 21, 2024
2 parents 4efea04 + 42326bd commit fc730f4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Lilu Changelog
==============
#### v1.7.0
- Added Arrow Lake CPU definitions

#### v1.6.9
- Fixed loading on macOS 10.10 and older due to a MacKernelSDK regression
- Added AMD IGPU detection via device-id, thanks @Zormeister
Expand Down
6 changes: 3 additions & 3 deletions Lilu.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@
MODULE_NAME = as.vit9696.Lilu;
MODULE_START = "$(PRODUCT_NAME)_kern_start";
MODULE_STOP = "$(PRODUCT_NAME)_kern_stop";
MODULE_VERSION = 1.6.9;
MODULE_VERSION = 1.7.0;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
Expand Down Expand Up @@ -935,7 +935,7 @@
MODULE_NAME = as.vit9696.Lilu;
MODULE_START = "$(PRODUCT_NAME)_kern_start";
MODULE_STOP = "$(PRODUCT_NAME)_kern_stop";
MODULE_VERSION = 1.6.9;
MODULE_VERSION = 1.7.0;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
Expand Down Expand Up @@ -1100,7 +1100,7 @@
MODULE_NAME = as.vit9696.Lilu;
MODULE_START = "$(PRODUCT_NAME)_kern_start";
MODULE_STOP = "$(PRODUCT_NAME)_kern_stop";
MODULE_VERSION = 1.6.9;
MODULE_VERSION = 1.7.0;
OTHER_CFLAGS = (
"-mmmx",
"-msse",
Expand Down
4 changes: 4 additions & 0 deletions Lilu/Headers/kern_cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ namespace CPUInfo {
CPU_MODEL_ALDERLAKE_S = 0x97,
CPU_MODEL_RAPTORLAKE_S = 0xB7, /* Raptor Lake B0 stepping */
CPU_MODEL_RAPTORLAKE_HX = 0xBF, /* Raptor Lake C0 stepping */
CPU_MODEL_ARROWLAKE_HX = 0xC5,
CPU_MODEL_ARROWLAKE_S = 0xC6, /* desktop ArrowLake */
CPU_MODEL_ARROWLAKE_U = 0xB5,
};

/**
Expand Down Expand Up @@ -130,6 +133,7 @@ namespace CPUInfo {
TigerLake,
AlderLake,
RaptorLake,
ArrowLake,
MaxGeneration
};

Expand Down
5 changes: 5 additions & 0 deletions Lilu/Sources/kern_cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ void CPUInfo::init() {
case CPU_MODEL_RAPTORLAKE_HX:
bdi.cpuGeneration = CpuGeneration::RaptorLake;
break;
case CPU_MODEL_ARROWLAKE_S:
case CPU_MODEL_ARROWLAKE_HX:
case CPU_MODEL_ARROWLAKE_U:
bdi.cpuGeneration = CpuGeneration::ArrowLake;
break;
default:
bdi.cpuGeneration = CpuGeneration::Unknown;
break;
Expand Down

0 comments on commit fc730f4

Please sign in to comment.