aboutsummaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorJonathan Behrens <fintelia@gmail.com>2019-04-01 15:12:07 -0400
committerPalmer Dabbelt <palmer@sifive.com>2019-05-24 12:09:19 -0700
commitb86f4167630802128d94f3c89043d97d2f4c2546 (patch)
treea91a1a53139219ad5e3295bbf7df78327d08d908 /os-posix.c
parent30efbf330a45fc5b83457037927151adafc397ed (diff)
downloadqemu-b86f4167630802128d94f3c89043d97d2f4c2546.zip
qemu-b86f4167630802128d94f3c89043d97d2f4c2546.tar.gz
qemu-b86f4167630802128d94f3c89043d97d2f4c2546.tar.bz2
target/riscv: Do not allow sfence.vma from user mode
The 'sfence.vma' instruction is privileged, and should only ever be allowed when executing in supervisor mode or higher. Signed-off-by: Jonathan Behrens <fintelia@gmail.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions