mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v0.89][ARM] Add very basic SoC parsing from cpuinfo/android strings. Only detects two SoCs, but allows debugging
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
#ifndef __SOC__
|
||||
#define __SOC__
|
||||
|
||||
typedef int SOC;
|
||||
|
||||
struct system_on_chip {
|
||||
SOC soc;
|
||||
char* raw_name;
|
||||
};
|
||||
|
||||
struct system_on_chip* get_soc();
|
||||
char* get_soc_name(struct system_on_chip* soc);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user