teg2: fix wrong l2 setshift address in wholecache() (from sources)
This commit is contained in:
parent
ce80c5029e
commit
5d8300d2eb
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ TEXT wholecache+0(SB), $-4
|
|||
MOVW $(CACHECONF+4), R4 /* +4 = l1setsh */
|
||||
CMP $0, R8 /* cache == 1? */
|
||||
ADD.NE $(4*2), R3 /* no, assume l2: +8 = l2waysh */
|
||||
ADD.NE $(4*2), R3 /* +12 = l2setsh */
|
||||
ADD.NE $(4*2), R4 /* +12 = l2setsh */
|
||||
|
||||
MOVW R14, R0 /* get R14's segment ... */
|
||||
AND $KSEGM, R0
|
||||
|
|
Loading…
Reference in a new issue