summaryrefslogtreecommitdiff
path: root/lib/utils/timer/objects.mk
diff options
context:
space:
mode:
authorXiang W <[email protected]>2021-04-01 15:59:40 +0800
committerAnup Patel <[email protected]>2021-04-05 13:43:08 +0530
commit3d8a952737935dd98200b05b68dacb5e94071877 (patch)
tree0e641519f65664f3f05deada0cf547c64037e08c /lib/utils/timer/objects.mk
parent4ef2f5d3e6b25356a8fab19574bed76ce60edeee (diff)
lib: fix csr detect support
csr_read_allowed/csr_read_allowed requires trap.case to detect the results, but if no exception occurs, the value of trap.case will remain unchanged, which makes the detection results unreliable. Add code to initialize trap.case to 0. Signed-off-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions