#ifndef __UARCH__
#define __UARCH__

#include <stdint.h>
#include "riscv.h"

struct uarch;

char* get_arch_cpuinfo_str(struct cpuInfo* cpu);
char* get_str_uarch(struct cpuInfo* cpu);
void free_uarch_struct(struct uarch* arch);
struct uarch* get_uarch_from_cpuinfo_str(char* cpuinfo_str, struct cpuInfo* cpu);

#endif
