From d0cc04529c82cbd5dd30bd002e02424f51f0cd23 Mon Sep 17 00:00:00 2001 From: Dr-Noob Date: Sun, 6 Oct 2024 18:18:42 +0100 Subject: [PATCH] Some documentation --- src/riscv/uarch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/riscv/uarch.c b/src/riscv/uarch.c index ed36aa8..c4e4ef7 100644 --- a/src/riscv/uarch.c +++ b/src/riscv/uarch.c @@ -73,11 +73,11 @@ struct uarch* get_uarch_from_cpuinfo_str(char* cpuinfo_str, struct cpuInfo* cpu, return arch; } -// TODO: Doc +// Use marchid to get the microarchitecture struct uarch* get_uarch_from_riscv_cpuinfo(struct cpuInfo* cpu, struct uarch* arch) { ARCHID_START - CHECK_ARCHID(arch, 0x8000000058000001, "X60", UARCH_X60, CPU_VENDOR_SPACEMIT) + CHECK_ARCHID(arch, 0x8000000058000001, "X60", UARCH_X60, CPU_VENDOR_SPACEMIT) // https://github.com/Dr-Noob/cpufetch/issues/286 ARCHID_END return arch;