[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 1/1] target/riscv: Use target_ulong for the DisasContext m
From: |
Bin Meng |
Subject: |
Re: [PATCH v1 1/1] target/riscv: Use target_ulong for the DisasContext misa |
Date: |
Tue, 1 Jun 2021 19:45:40 +0800 |
On Mon, May 31, 2021 at 12:27 PM Alistair Francis
<alistair.francis@wdc.com> wrote:
>
> The is_32bit() check in translate.c expects a 64-bit guest to have a
> 64-bit misa value otherwise the macro check won't work. This patches
> fixes that and fixes a Coverity issue at the same time.
>
> Fixes: CID 1453107
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
> ---
> target/riscv/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
- Re: [PATCH v1 1/1] target/riscv: Use target_ulong for the DisasContext misa,
Bin Meng <=