[v0.98] Detect RPi SoC using revision codes, according to #91

This commit is contained in:
Dr-Noob
2021-06-16 16:01:25 +01:00
parent 26139e061d
commit d8dbbc8dd8
4 changed files with 103 additions and 13 deletions

View File

@@ -7,6 +7,8 @@
int get_ncores_from_cpuinfo();
uint32_t get_midr_from_cpuinfo(uint32_t core, bool* success);
char* get_hardware_from_cpuinfo();
char* get_revision_from_cpuinfo();
bool is_raspberry_pi();
#endif