diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-11-22 11:59:16 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-11-26 09:44:34 +0000 |
commit | 0fdd2e1d06884b0236c2f124c1cfd2dd4765341a (patch) | |
tree | 9e90bdcebc86893896b798c4aaf202367ea67cef /target-xtensa/helper.c | |
parent | 40897c9c160393df922dfdb59cfa210048d3071d (diff) |
target-xtensa: fix MMUv3 initialization
- ITLB/DTLB ways 5 and 6 have 4 and 8 entries respectively;
- ITLB/DTLB way 6 attr field is set to 3 on reset.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/helper.c')
-rw-r--r-- | target-xtensa/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-xtensa/helper.c b/target-xtensa/helper.c index fc85815a63..2a0cb1a562 100644 --- a/target-xtensa/helper.c +++ b/target-xtensa/helper.c @@ -273,7 +273,7 @@ static void reset_tlb_mmu_ways56(CPUState *env, entry[6][ei].vaddr = ei << 29; entry[6][ei].paddr = ei << 29; entry[6][ei].asid = 1; - entry[6][ei].attr = 2; + entry[6][ei].attr = 3; } } } |