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 /ui/vnc-auth-sasl.h | |
parent | 665b90d8a4aa7d90bbeee9ff279e37edcd573635 (diff) | |
download | qemu-b550f89457ef5022231f8255ae1a6ba496c492b1.zip qemu-b550f89457ef5022231f8255ae1a6ba496c492b1.tar.gz qemu-b550f89457ef5022231f8255ae1a6ba496c492b1.tar.bz2 |
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 'ui/vnc-auth-sasl.h')
0 files changed, 0 insertions, 0 deletions