projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure an error when reading a non-existent CSR.
[riscv-tests.git]
/
debug
/
targets
/
RISC-V
/
spike-rtos.cfg
diff --git
a/debug/targets/RISC-V/spike-rtos.cfg
b/debug/targets/RISC-V/spike-rtos.cfg
index 799e3cba3151c493e89f163e4b39bf1752897b7a..5a70f523d56afee94c668c68399e21d3f7a2a38d 100644
(file)
--- a/
debug/targets/RISC-V/spike-rtos.cfg
+++ b/
debug/targets/RISC-V/spike-rtos.cfg
@@
-13,5
+13,9
@@
target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv
gdb_report_data_abort enable
+# Expose an unimplemented CSR so we can test non-existent register access
+# behavior.
+riscv expose_csrs 2288
+
init
reset halt