summaryrefslogtreecommitdiffstats
path: root/scripts/modules/module_block.py
diff options
context:
space:
mode:
authorAlistair Francis2020-02-01 02:03:08 +0100
committerPalmer Dabbelt2020-02-27 22:46:33 +0100
commite44b50b5b2e508fdd24915ab0e44ac49685e1de3 (patch)
treee0a6d6fa3b43bbab5534860e590114d95e90f0b6 /scripts/modules/module_block.py
parenttarget/riscv: Add support for the 32-bit MSTATUSH CSR (diff)
downloadqemu-e44b50b5b2e508fdd24915ab0e44ac49685e1de3.tar.gz
qemu-e44b50b5b2e508fdd24915ab0e44ac49685e1de3.tar.xz
qemu-e44b50b5b2e508fdd24915ab0e44ac49685e1de3.zip
target/riscv: Add the MSTATUS_MPV_ISSET helper macro
Add a helper macro MSTATUS_MPV_ISSET() which will determine if the MSTATUS_MPV bit is set for both 32-bit and 64-bit RISC-V. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions