target/riscv: Convert MIP CSR to target_ulong
commit028616130d5f0abc8a3b96f28963da51a875024b
authorAlistair Francis <alistair.francis@wdc.com>
Sat, 1 Feb 2020 01:01:38 +0000 (31 17:01 -0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 27 Feb 2020 21:45:23 +0000 (27 13:45 -0800)
treecce777910468c573b1cdb5a494acf5c1743f200c
parent8b6b68e05b43f976714ca1d2afe01a64e1d82cba
target/riscv: Convert MIP CSR to target_ulong

The MIP CSR is a xlen CSR, it was only 32-bits to allow atomic access.
Now that we don't use atomics for MIP we can change this back to a xlen
CSR.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
target/riscv/cpu.c
target/riscv/cpu.h