aboutsummaryrefslogtreecommitdiff
path: root/debug/rbb_daisychain.py
diff options
context:
space:
mode:
authorSLAMET RIANTO <59614506+slametr-sifive@users.noreply.github.com>2021-05-10 17:25:00 -0500
committerGitHub <noreply@github.com>2021-05-10 15:25:00 -0700
commitc22b105d5a333cce3b2bef1ef3a0d2b773a54dd5 (patch)
tree809d44201edffc009fa344c4827f968935e1c77e /debug/rbb_daisychain.py
parentc9f43c1652c1d8abf85f3466f41ffd5ec4d911d6 (diff)
downloadriscv-tests-c22b105d5a333cce3b2bef1ef3a0d2b773a54dd5.zip
riscv-tests-c22b105d5a333cce3b2bef1ef3a0d2b773a54dd5.tar.gz
riscv-tests-c22b105d5a333cce3b2bef1ef3a0d2b773a54dd5.tar.bz2
Fixes for illegal.S to support Bare-SMode and sbreak.S & scall.S to support CLIC mode. (#336)
illegal.S: - After the test enters supervisor mode, check if paging is supported. - If paging is NOT supported (i.e. Bare S-mode), jump to a new section of code that checks the following: -- SFENCE.VMA causing illegal instruction trap regardless of TVM. -- Access to SATP does not trap. -- Jump to the same TSR check as regular S-mode -- End test sbreak.S & scall.S: - Before checking for scause, check if the core is in CLIC-mode (mtvec[1]). - If we're in CLIC-mode, mask off scause bits[(XLEN-1):8] before checing its value. - Otherwise, don't mask off any scause bits as in the original test. Co-authored-by: Slamet Rianto <slametr@gamma04.internal.sifive.com>
Diffstat (limited to 'debug/rbb_daisychain.py')
0 files changed, 0 insertions, 0 deletions