[v0.89][ARM] Add very basic SoC parsing from cpuinfo/android strings. Only detects two SoCs, but allows debugging

This commit is contained in:
Dr-Noob
2020-11-24 11:44:24 +01:00
parent 685e78f2b7
commit 220dd02abd
6 changed files with 74 additions and 11 deletions

View File

@@ -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