diff options
| author | Prashanth Mundkur | 2018-10-08 09:35:11 -0700 |
|---|---|---|
| committer | Prashanth Mundkur | 2018-10-23 15:32:15 -0700 |
| commit | d43b475507ed9144b26be124376c3e656005a416 (patch) | |
| tree | 5d4bc4eba9b4993610ee9098abbd68c2cac01fe0 /riscv/riscv_platform_impl.h | |
| parent | e3490924e6bce23d3d4b236fdc61c7345a17e814 (diff) | |
RISC-V: Add a platform knob to control mtval contents on illegal instruction faults.
Diffstat (limited to 'riscv/riscv_platform_impl.h')
| -rw-r--r-- | riscv/riscv_platform_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/riscv_platform_impl.h b/riscv/riscv_platform_impl.h index 562f8554..85e25c95 100644 --- a/riscv/riscv_platform_impl.h +++ b/riscv/riscv_platform_impl.h @@ -10,6 +10,7 @@ extern bool rv_enable_dirty_update; extern bool rv_enable_misaligned; +extern bool rv_mtval_has_illegal_inst_bits; extern uint64_t rv_ram_base; extern uint64_t rv_ram_size; |
