diff --git a/src/arm/midr.c b/src/arm/midr.c index b869a17..188707e 100644 --- a/src/arm/midr.c +++ b/src/arm/midr.c @@ -412,6 +412,7 @@ struct cpuInfo* get_cpu_info_mach(struct cpuInfo* cpu) { cpu->peak_performance = get_peak_performance(cpu); } else if(cpu_family == CPUFAMILY_ARM_EVEREST_SAWTOOTH || + cpu_family == CPUFAMILY_ARM_EVEREST_SAWTOOTH_2 || cpu_family == CPUFAMILY_ARM_EVEREST_SAWTOOTH_PRO || cpu_family == CPUFAMILY_ARM_EVEREST_SAWTOOTH_MAX) { fill_cpu_info_everest_sawtooth(cpu, pcores, ecores); diff --git a/src/common/sysctl.h b/src/common/sysctl.h index 32431dd..63dc7be 100644 --- a/src/common/sysctl.h +++ b/src/common/sysctl.h @@ -21,9 +21,12 @@ #define CPUFAMILY_ARM_AVALANCHE_BLIZZARD 0xDA33D83D #endif // M3 / A16 / A17 -// https://ratfactor.com/zig/stdlib-browseable2/c/darwin.zig.html -// https://github.com/Dr-Noob/cpufetch/issues/210 +// M3: https://ratfactor.com/zig/stdlib-browseable2/c/darwin.zig.html +// M3_2: https://github.com/Dr-Noob/cpufetch/issues/230 +// PRO: https://github.com/Dr-Noob/cpufetch/issues/225 +// MAX: https://github.com/Dr-Noob/cpufetch/issues/210 #define CPUFAMILY_ARM_EVEREST_SAWTOOTH 0x8765EDEA +#define CPUFAMILY_ARM_EVEREST_SAWTOOTH_2 0xFA33415E #define CPUFAMILY_ARM_EVEREST_SAWTOOTH_PRO 0x5F4DEA93 #define CPUFAMILY_ARM_EVEREST_SAWTOOTH_MAX 0x72015832