[v0.98][PPC] Obtain microarchitecture using getauxval

This commit is contained in:
Dr-Noob
2021-07-31 09:50:38 +02:00
parent af22b2e186
commit 9b483d2db5
4 changed files with 99 additions and 7 deletions

View File

@@ -1,6 +1,13 @@
#ifndef __UARCH__
#define __UARCH__
#include "ppc.h"
struct uarch;
struct uarch* get_uarch_from_auxval();
char* get_str_uarch(struct cpuInfo* cpu);
char* get_str_process(struct cpuInfo* cpu);
void free_uarch_struct(struct uarch* arch);
#endif