qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Richard Henderson
Subject: Re: [PATCH v2 05/10] target/riscv: Convert env->virt to a bool env->virt_enabled
Date: Mon, 27 Mar 2023 11:09:09 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 3/27/23 01:08, Weiwei Li wrote:
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(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]