Re: [PATCH v1 1/1] target/riscv: Use target_ulong for the DisasContext misa

2021-06-10 Thread Alistair Francis
On Mon, May 31, 2021 at 2:27 PM Alistair Francis 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:

Re: [PATCH v1 1/1] target/riscv: Use target_ulong for the DisasContext misa

2021-06-01 Thread Bin Meng
On Mon, May 31, 2021 at 12:27 PM Alistair Francis 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 >

[PATCH v1 1/1] target/riscv: Use target_ulong for the DisasContext misa

2021-05-30 Thread Alistair Francis
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 --- target/riscv/translate.c | 2 +- 1 file