Alistair Francis 3ed2b8ac2d hw/riscv: Use the CPU to determine if 32-bit
Instead of using string compares to determine if a RISC-V machine is
using 32-bit or 64-bit CPUs we can use the initalised CPUs. This avoids
us having to maintain a list of CPU names to compare against.

This commit also fixes the name of the function to match the
riscv_cpu_is_32bit() function.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 8ab7614e5df93ab5267788b73dcd75f9f5615e82.1608142916.git.alistair.francis@wdc.com
2020-12-17 21:56:44 -08:00
..
2020-12-11 17:52:40 +01:00
2020-12-15 12:53:13 -05:00
2020-10-29 09:57:37 +00:00
2020-12-10 17:33:17 -05:00
2020-12-15 12:51:48 -05:00
2020-12-15 12:53:15 -05:00
2020-12-11 08:06:39 +01:00
2020-10-29 11:40:04 +00:00
2020-12-10 12:15:18 -05:00