From: LIU Zhiwei<zhiwei_liu@linux.alibaba.com>
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<zhiwei_liu@linux.alibaba.com>
Reviewed-by: Weiwei Li<liweiwei@iscas.ac.cn>
Message-ID:<20230325145348.1208-1-zhiwei_liu@linux.alibaba.com>
---
target/riscv/cpu.h | 2 +-
target/riscv/cpu_bits.h | 3 ---
target/riscv/cpu_helper.c | 6 +++---
target/riscv/machine.c | 6 +++---
target/riscv/translate.c | 4 ++--
5 files changed, 9 insertions(+), 12 deletions(-)