On Thu, Jan 26, 2023 at 12:22 AM Alexandre Ghiti <alexgh...@rivosinc.com> wrote: > > This array is actually used as a boolean so swap its current char type > to a boolean and at the same time, change the type of validate_vm to > bool since it returns valid_vm_1_10_[32|64]. > > Suggested-by: Andrew Jones <ajo...@ventanamicro.com> > Signed-off-by: Alexandre Ghiti <alexgh...@rivosinc.com> > Reviewed-by: Andrew Jones <ajo...@ventanamicro.com> > Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> > --- > target/riscv/csr.c | 21 +++++++++++---------- > 1 file changed, 11 insertions(+), 10 deletions(-) >
Reviewed-by: Bin Meng <bm...@tinylab.org>