mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v0.98][PPC] Add part number detection using linux device tree
This commit is contained in:
@@ -116,9 +116,12 @@ struct cpuInfo {
|
||||
struct topology* topo;
|
||||
struct features* feat;
|
||||
|
||||
#ifdef ARCH_X86
|
||||
#if defined(ARCH_X86) || defined(ARCH_PPC)
|
||||
// CPU name from model
|
||||
char* cpu_name;
|
||||
#endif
|
||||
|
||||
#ifdef ARCH_X86
|
||||
// Max cpuids levels
|
||||
uint32_t maxLevels;
|
||||
// Max cpuids extended levels
|
||||
|
||||
Reference in New Issue
Block a user