mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v0.82][ARM][ASCII][Refactoring] ARM ascii changes. Remove the assumption that all sockets are equal in a ARM based SoC. Little more support for ARM processors. Add ARM color style
This commit is contained in:
@@ -68,13 +68,20 @@ struct cpuInfo {
|
||||
uint32_t maxLevels;
|
||||
// Max cpuids extended levels
|
||||
uint32_t maxExtendedLevels;
|
||||
#else
|
||||
#elif ARCH_ARM
|
||||
// Main ID register
|
||||
uint32_t midr;
|
||||
#endif
|
||||
|
||||
struct uarch* arch;
|
||||
struct hypervisor* hv;
|
||||
|
||||
#ifdef ARCH_ARM
|
||||
// If SoC contains more than one CPU and they
|
||||
// are different, the others will be stored in
|
||||
// the next_cpu field
|
||||
struct cpuInfo* next_cpu;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct cach {
|
||||
|
||||
Reference in New Issue
Block a user