summaryrefslogtreecommitdiffstats
path: root/linux-user/cpu_loop-common.h
diff options
context:
space:
mode:
authorMichael Clark2019-01-15 00:59:00 +0100
committerPalmer Dabbelt2019-02-12 00:56:22 +0100
commitf18637cd611cd42bfe1eb4dafa337051fc4f6061 (patch)
treeaeec56acd8090e601a86f49b6b039df366a8d722 /linux-user/cpu_loop-common.h
parentRISC-V: Add misa.MAFD checks to translate (diff)
downloadqemu-f18637cd611cd42bfe1eb4dafa337051fc4f6061.tar.gz
qemu-f18637cd611cd42bfe1eb4dafa337051fc4f6061.tar.xz
qemu-f18637cd611cd42bfe1eb4dafa337051fc4f6061.zip
RISC-V: Add misa runtime write support
This patch adds support for writing misa. misa is validated based on rules in the ISA specification. 'E' is mutually exclusive with all other extensions. 'D' depends on 'F' so 'D' bit is dropped if 'F' is not present. A conservative approach to consistency is taken by flushing the translation cache on misa writes. misa_mask is added to the CPU struct to store the original set of extensions. Signed-off-by: Michael Clark <mjc@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'linux-user/cpu_loop-common.h')
0 files changed, 0 insertions, 0 deletions