[v1.03][RISCV] Add SiFive ascii art

This commit is contained in:
Dr-Noob
2023-04-03 13:25:51 +02:00
parent 14819c350e
commit a496f694a6
5 changed files with 32 additions and 4 deletions

View File

@@ -38,7 +38,6 @@ struct cpuInfo* get_cpu_info(void) {
cpu->hv->present = false;
cpu->soc = get_soc();
cpu->freq = get_frequency_info(0);
cpu->cpu_vendor = CPU_VENDOR_RISCV;
cpu->peak_performance = get_peak_performance(cpu);
return cpu;

View File

@@ -5,6 +5,10 @@
#include <string.h>
VENDOR get_soc_vendor(struct system_on_chip* soc) {
return soc->soc_vendor;
}
char* get_str_process(struct system_on_chip* soc) {
char* str;

View File

@@ -21,7 +21,7 @@ struct system_on_chip {
struct system_on_chip* get_soc(void);
char* get_soc_name(struct system_on_chip* soc);
//VENDOR get_soc_vendor(struct system_on_chip* soc);
VENDOR get_soc_vendor(struct system_on_chip* soc);
char* get_str_process(struct system_on_chip* soc);
#endif