[v0.83][ARM] Add basic support for microarchitecture and CPU name detection. Need to add the remaining models

This commit is contained in:
Dr-Noob
2020-11-08 16:49:01 +01:00
parent 16abfa7022
commit 3aa13269b7
5 changed files with 146 additions and 21 deletions

View File

@@ -5,9 +5,7 @@
#include "midr.h"
struct uarch;
struct uarch* get_uarch_from_cpuid(struct cpuInfo* cpu, uint32_t ef, uint32_t f, uint32_t em, uint32_t m, int s);
struct uarch* get_uarch_from_midr(uint32_t midr, struct cpuInfo* cpu);
char* get_str_uarch(struct cpuInfo* cpu);
char* get_str_process(struct cpuInfo* cpu);
void free_uarch_struct(struct uarch* arch);