[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 14/19] target/riscv/cpu.c: export set_misa()
From: |
Andrew Jones |
Subject: |
Re: [PATCH v2 14/19] target/riscv/cpu.c: export set_misa() |
Date: |
Mon, 11 Sep 2023 09:54:23 +0200 |
On Wed, Sep 06, 2023 at 06:16:41AM -0300, Daniel Henrique Barboza wrote:
> We'll move riscv_init_max_cpu_extensions() to tcg-cpu.c in the next
> patch and set_misa() needs to be usable from there.
>
> Rename it to riscv_cpu_set_misa() and make it public.
>
> Signed-off-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
> ---
> target/riscv/cpu.c | 34 ++++++++++++++++++----------------
> target/riscv/cpu.h | 1 +
> 2 files changed, 19 insertions(+), 16 deletions(-)
>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
- Re: [PATCH v2 10/19] target/riscv: remove kvm-stub.c, (continued)
[PATCH v2 11/19] target/riscv: introduce KVM AccelCPUClass, Daniel Henrique Barboza, 2023/09/06
[PATCH v2 13/19] target/riscv/kvm: do not use riscv_cpu_add_misa_properties(), Daniel Henrique Barboza, 2023/09/06
[PATCH v2 14/19] target/riscv/cpu.c: export set_misa(), Daniel Henrique Barboza, 2023/09/06
[PATCH v2 15/19] target/riscv/tcg: introduce tcg_cpu_instance_init(), Daniel Henrique Barboza, 2023/09/06
[PATCH v2 12/19] target/riscv: move KVM only files to kvm subdir, Daniel Henrique Barboza, 2023/09/06
[PATCH v2 16/19] target/riscv/cpu.c: make misa_ext_cfgs[] 'const', Daniel Henrique Barboza, 2023/09/06
[PATCH v2 17/19] target/riscv/tcg: move riscv_cpu_add_misa_properties() to tcg-cpu.c, Daniel Henrique Barboza, 2023/09/06
[PATCH v2 19/19] target/riscv/cpu: move priv spec functions to tcg-cpu.c, Daniel Henrique Barboza, 2023/09/06
[PATCH v2 18/19] target/riscv/cpu.c: export isa_edata_arr[], Daniel Henrique Barboza, 2023/09/06