aboutsummaryrefslogtreecommitdiff
path: root/ax_check_link_flag.m4
diff options
context:
space:
mode:
authorYenHaoChen <howard25336284@gmail.com>2023-11-23 17:15:40 +0800
committerYenHaoChen <howard25336284@gmail.com>2023-11-24 09:17:57 +0800
commit6e6885feed1c1fd31978535aa4ab845006e91efd (patch)
tree6483d1cae7f58a68fe4ccb411263dce56dd13698 /ax_check_link_flag.m4
parent4841ad0238f0b71ca86fb28974765495cc0c34a9 (diff)
downloadriscv-isa-sim-6e6885feed1c1fd31978535aa4ab845006e91efd.zip
riscv-isa-sim-6e6885feed1c1fd31978535aa4ab845006e91efd.tar.gz
riscv-isa-sim-6e6885feed1c1fd31978535aa4ab845006e91efd.tar.bz2
stimecmp: perform menvcfg.STCE permission check when accessing vstimecmp in HS-mode
The spec requires menvcfg.STCE=1 on accessing stimecmp or vstimecmp in a mode other than M-mode. The previous implementation does not check the permission on accessing vstimecmp in HS-mode. This commit fixes the issue by moveing the permission check from virtualized_stimecmp_csr_t to stimecmp_csr_t, which implements the vstimecmp.
Diffstat (limited to 'ax_check_link_flag.m4')
0 files changed, 0 insertions, 0 deletions