diff options
author | zhuyaliang <15132211195@163.com> | 2023-02-14 16:50:54 +0800 |
---|---|---|
committer | L. A. F. Pereira <l@tia.mat.br> | 2023-02-16 09:12:16 -0800 |
commit | 6ef2348519352a4d7000bb4990c0fa1e58635185 (patch) | |
tree | d47aad259766f45bb53e40621c3a20139fded527 /includes | |
parent | a798cbaed6f1b083cc3c26dbede74cf40947d0ef (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')
-rw-r--r-- | includes/loongarch64/processor-platform.h | 7 |
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__ */ |