mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 05:57:16 +00:00
riscv_cpuinfo: Add support for RVV extension in CPU info
Add missing info for RVV ISA extention, which is already supported by NuttX. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
45a8d99755
commit
c1b41fefeb
1 changed files with 3 additions and 0 deletions
|
|
@ -64,6 +64,9 @@ ssize_t up_show_cpuinfo(char *buf, size_t buf_size, off_t file_off)
|
|||
#ifdef CONFIG_ARCH_RV_ISA_C
|
||||
procfs_sprintf(buf, buf_size, &file_off, "%s", "c");
|
||||
#endif
|
||||
#ifdef CONFIG_ARCH_RV_ISA_V
|
||||
procfs_sprintf(buf, buf_size, &file_off, "%s", "v");
|
||||
#endif
|
||||
|
||||
/* MMU type */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue