diff options
| author | Michael Clark | 2018-03-05 22:17:11 +0100 |
|---|---|---|
| committer | Michael Clark | 2018-05-06 00:39:38 +0200 |
| commit | 1d1ee55274860bfcc511d50d83c84394c2685ba8 (patch) | |
| tree | 5b8815298683e783d0518384359c44fd476be1a1 /scripts/switch-timer-api | |
| parent | RISC-V: Add mcycle/minstret support for -icount auto (diff) | |
| download | qemu-1d1ee55274860bfcc511d50d83c84394c2685ba8.tar.gz qemu-1d1ee55274860bfcc511d50d83c84394c2685ba8.tar.xz qemu-1d1ee55274860bfcc511d50d83c84394c2685ba8.zip | |
RISC-V: Make mtvec/stvec ignore vectored traps
Vectored traps for asynchrounous interrupts are optional.
The mtvec/stvec mode field is WARL and hence does not trap
if an illegal value is written. Illegal values are ignored.
Later we can add RISCV_FEATURE_VECTORED_TRAPS however
until then the correct behavior for WARL (Write Any, Read
Legal) fields is to drop writes to unsupported bits.
Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Alistair Francis <Alistair.Francis@wdc.com>
Signed-off-by: Michael Clark <mjc@sifive.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
