start of new file
[IRC.git] / Robust / src / Runtime / raw_dataCache.s
1 .text
2 .global flushAddr
3 .global invalidateAddr
4 .global flushCacheline
5 .global invalidateCacheline
6         
7 flushAddr:
8 # arguments come in on $4 and $5
9 # $4 has the address
10 # $5 has the length, eventually
11
12         afl $4, 0
13         jr    $31
14         
15
16 invalidateAddr:
17 # arguments come in on $4 and $5
18 # $4 has the address
19 # $5 has the length, eventually
20
21         ainv $4, 0
22         jr $31
23
24
25 flushCacheline:
26 # arguments come in on $4
27 # $4 has the base tag address
28
29         tagfl $4
30         jr $31
31
32 invalidateCacheline:
33 # arguments come in on $4
34 # $4 has the base tag address
35
36         tagsw $0, $4
37 #       mtsri PASS, 0x1111
38 #       mtsr PASS, $8
39 #       ainv $8, 0
40         jr $31