forked from Github_Repos/cvw
Fixed priv.S to initialize stimecmp and agree with ImperasDV
This commit is contained in:
parent
7ad8d7f774
commit
5c6d9f87a0
@ -33,7 +33,8 @@ main:
|
|||||||
ecall
|
ecall
|
||||||
|
|
||||||
# Test read to stimecmp fails when MCOUNTEREN_TM is not set
|
# Test read to stimecmp fails when MCOUNTEREN_TM is not set
|
||||||
addi t0, zero, 0
|
li t1, -3
|
||||||
|
csrw stimecmp, t1
|
||||||
csrr t0, stimecmp
|
csrr t0, stimecmp
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user