Re: [RFC PATCH 2/3] target/riscv: Add API list_cpu_props

2023-08-28 Thread LIU Zhiwei
On 2023/8/25 21:46, Daniel Henrique Barboza wrote: On 8/25/23 09:16, LIU Zhiwei wrote: This API used for output current configuration for one specified CPU. Currently only RISC-V frontend implements this API. Signed-off-by: LIU Zhiwei ---   cpu.c |  8   include

Re: [RFC PATCH 2/3] target/riscv: Add API list_cpu_props

2023-08-25 Thread Daniel Henrique Barboza
On 8/25/23 09:16, LIU Zhiwei wrote: This API used for output current configuration for one specified CPU. Currently only RISC-V frontend implements this API. Signed-off-by: LIU Zhiwei --- cpu.c | 8 include/exec/cpu-common.h | 1 + target/riscv/cpu.c

[RFC PATCH 2/3] target/riscv: Add API list_cpu_props

2023-08-25 Thread LIU Zhiwei
This API used for output current configuration for one specified CPU. Currently only RISC-V frontend implements this API. Signed-off-by: LIU Zhiwei --- cpu.c | 8 include/exec/cpu-common.h | 1 + target/riscv/cpu.c| 10 ++ target/riscv/cpu.h