diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-10-19 20:17:09 -0700 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2021-10-22 23:35:47 +1000 |
| commit | b550f89457ef5022231f8255ae1a6ba496c492b1 (patch) | |
| tree | dc8f410a57ffb289dafcefb81efbc066ff7dbf99 /hw/intc/ibex_plic.c | |
| parent | 665b90d8a4aa7d90bbeee9ff279e37edcd573635 (diff) | |
| download | focaccia-qemu-b550f89457ef5022231f8255ae1a6ba496c492b1.tar.gz focaccia-qemu-b550f89457ef5022231f8255ae1a6ba496c492b1.zip | |
target/riscv: Compute mstatus.sd on demand
The position of this read-only field is dependent on the current xlen. Rather than having to compute that difference in many places, compute it only on read. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20211020031709.359469-16-richard.henderson@linaro.org Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/intc/ibex_plic.c')
0 files changed, 0 insertions, 0 deletions