aboutsummaryrefslogtreecommitdiff
path: root/includes/loongarch64
diff options
context:
space:
mode:
authorzhuyaliang <15132211195@163.com>2023-02-14 16:50:54 +0800
committerL. A. F. Pereira <l@tia.mat.br>2023-02-16 09:12:16 -0800
commit6ef2348519352a4d7000bb4990c0fa1e58635185 (patch)
treed47aad259766f45bb53e40621c3a20139fded527 /includes/loongarch64
parenta798cbaed6f1b083cc3c26dbede74cf40947d0ef (diff)
Update loongarch architecture processor information
The previous LoongArch support added in commit 56e590d was based on the kernel behavior before the official upstream merge. Stable cpuinfo: https://git.kernel.org/torvalds/c/7153c3c
Diffstat (limited to 'includes/loongarch64')
-rw-r--r--includes/loongarch64/processor-platform.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/loongarch64/processor-platform.h b/includes/loongarch64/processor-platform.h
index c18d4b32..43ba0a26 100644
--- a/includes/loongarch64/processor-platform.h
+++ b/includes/loongarch64/processor-platform.h
@@ -20,9 +20,12 @@
#define __PROCESSOR_PLATFORM_H__
struct _Processor {
- gchar *model_name;
gchar *vendor_id;
- gfloat bogomips, cpu_mhz;
+ gchar *family;
+ gchar *model_name;
+ gint revision;
+ gfloat cpu_mhz, bogomips;
+ gchar *features;
};
#endif /* __PROCESSOR_PLATFORM_H__ */