mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v0.8][Refactoring] Refactoring ARM code and source code tree
This commit is contained in:
@@ -5,16 +5,19 @@ typedef int STYLE;
|
||||
|
||||
#include "args.h"
|
||||
|
||||
#ifdef _ARCH_X86
|
||||
#ifdef ARCH_X86
|
||||
#include "../x86/cpuid.h"
|
||||
#else
|
||||
#include "../arm/cpuid.h"
|
||||
#include "../arm/midr.h"
|
||||
#endif
|
||||
|
||||
#define COLOR_DEFAULT_INTEL "15,125,194:230,230,230:40,150,220:230,230,230"
|
||||
#define COLOR_DEFAULT_AMD "250,250,250:0,154,102:250,250,250:0,154,102"
|
||||
|
||||
#ifdef ARCH_X86
|
||||
void print_levels(struct cpuInfo* cpu);
|
||||
#endif
|
||||
|
||||
bool print_cpufetch(struct cpuInfo* cpu, struct cache* cach, struct frequency* freq, struct topology* topo, STYLE s, struct colors* cs);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user