diff options
author | Jonathan Behrens <jonathan@fintelia.io> | 2019-05-07 18:36:46 -0400 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2019-05-24 12:09:25 -0700 |
commit | 087b051a51a0c2a5bc1e8d435a484a8896b4176b (patch) | |
tree | 1601ee3643102d79f17f561e2a18e3be81f191e3 /scripts/qapi-gen.py | |
parent | 4cc16b3b9282e04fab8e84d136540757e82af019 (diff) | |
download | qemu-087b051a51a0c2a5bc1e8d435a484a8896b4176b.zip qemu-087b051a51a0c2a5bc1e8d435a484a8896b4176b.tar.gz qemu-087b051a51a0c2a5bc1e8d435a484a8896b4176b.tar.bz2 |
target/riscv: More accurate handling of `sip` CSR
According to the spec, "All bits besides SSIP, USIP, and UEIP in the sip
register are read-only." Further, if an interrupt is not delegated to mode x,
then "the corresponding bits in xip [...] should appear to be hardwired to
zero. This patch implements both of those requirements.
Signed-off-by: Jonathan Behrens <jonathan@fintelia.io>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions