mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 01:32:49 -04:00
100% coverage tlbcontrol
This commit is contained in:
parent
ae2846b1ec
commit
9a46061716
2 changed files with 11 additions and 1 deletions
|
@ -156,6 +156,16 @@ ConcurrentICacheMissDTLBMiss:
|
|||
#sd zero, 0(t0)
|
||||
#amoadd.w t1, t0, (t0)
|
||||
|
||||
# Access page with R=0 W = 1
|
||||
li t0, 0x80804000
|
||||
li t1, 0x8067 # ret
|
||||
sw t1, 0(t0) # have something to return from
|
||||
jalr ra, t0
|
||||
|
||||
# Good PBMT with menvcfg.PBMT = 1,
|
||||
li t0, 0x80806000
|
||||
jalr ra, t0
|
||||
|
||||
# Good PBMT with menvcfg.PBMTE = 0
|
||||
li a0, 3
|
||||
ecall # switch to machine mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue