diff options
author | Alistair Francis | 2020-02-01 02:03:08 +0100 |
---|---|---|
committer | Palmer Dabbelt | 2020-02-27 22:46:33 +0100 |
commit | e44b50b5b2e508fdd24915ab0e44ac49685e1de3 (patch) | |
tree | e0a6d6fa3b43bbab5534860e590114d95e90f0b6 /scripts/modules/module_block.py | |
parent | target/riscv: Add support for the 32-bit MSTATUSH CSR (diff) | |
download | qemu-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