target/riscv: Add a riscv_cpu_is_32bit() helper function
commit51ae0cabc67c418264d5ae28214603aabc88b9b6
authorAlistair Francis <alistair.francis@wdc.com>
Wed, 16 Dec 2020 18:22:51 +0000 (16 10:22 -0800)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 18 Dec 2020 05:56:44 +0000 (17 21:56 -0800)
treeedcd10c7796f5f207f62f22b9f2320b48d1e9cd7
parent5b6c291b8db8effff625db321be232e0c4dcdb6c
target/riscv: Add a riscv_cpu_is_32bit() helper function

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Message-id: ebd37b237a8cbe457335b948bd57f487b6b31869.1608142916.git.alistair.francis@wdc.com
target/riscv/cpu.c
target/riscv/cpu.h