Re: [PATCH v2 05/10] target/riscv: Convert env->virt to a bool env->virt_enabled

2023-04-04 Thread Alistair Francis
On Mon, Mar 27, 2023 at 6:10 PM Weiwei Li wrote: > > From: LIU Zhiwei > > Currently we only use the env->virt to encode the virtual mode enabled > status. Let's make it a bool type. > > Signed-off-by: LIU Zhiwei > Reviewed-by: Weiwei Li > Message-ID: <20230325145348.1208-1-zhiwei_...@linux.alib

Re: [PATCH v2 05/10] target/riscv: Convert env->virt to a bool env->virt_enabled

2023-03-27 Thread Richard Henderson
On 3/27/23 01:08, Weiwei Li wrote: From: LIU Zhiwei Currently we only use the env->virt to encode the virtual mode enabled status. Let's make it a bool type. Signed-off-by: LIU Zhiwei Reviewed-by: Weiwei Li Message-ID:<20230325145348.1208-1-zhiwei_...@linux.alibaba.com> --- target/riscv/cpu.h