aboutsummaryrefslogtreecommitdiff
path: root/hw/hyperv/hyperv_testdev.c
diff options
context:
space:
mode:
authorDeepak Gupta <debug@rivosinc.com>2024-10-08 15:50:02 -0700
committerAlistair Francis <alistair.francis@wdc.com>2024-10-30 11:22:08 +1000
commitf9fdf9077c2a6d7d2bfc5ccfcd961f60d311218d (patch)
tree75b83618107495825a5ad2c66bdb80a902433b2c /hw/hyperv/hyperv_testdev.c
parent8205bc127a83719d85a28ceffdd5e822b8fa3db7 (diff)
downloadqemu-f9fdf9077c2a6d7d2bfc5ccfcd961f60d311218d.zip
qemu-f9fdf9077c2a6d7d2bfc5ccfcd961f60d311218d.tar.gz
qemu-f9fdf9077c2a6d7d2bfc5ccfcd961f60d311218d.tar.bz2
target/riscv: tb flag for shadow stack instructions
Shadow stack instructions can be decoded as zimop / zcmop or shadow stack instructions depending on whether shadow stack are enabled at current privilege. This requires a TB flag so that correct TB generation and correct TB lookup happens. `DisasContext` gets a field indicating whether bcfi is enabled or not. Signed-off-by: Deepak Gupta <debug@rivosinc.com> Co-developed-by: Jim Shu <jim.shu@sifive.com> Co-developed-by: Andy Chiu <andy.chiu@sifive.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-ID: <20241008225010.1861630-13-debug@rivosinc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/hyperv/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions