sparc64 really implement itlb/dtlb automatic replacement writes
commitf707726e8d8308d58edbcd4664e252a445cc9b8c
authorIgor Kovalenko <igor.v.kovalenko@gmail.com>
Sun, 26 Jul 2009 21:57:39 +0000 (27 01:57 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 27 Jul 2009 05:43:27 +0000 (27 05:43 +0000)
treef8d4afc83508f8cffdbf24ef3c267cf6993cb07b
parent6e8e7d4c092951f417297120e3d3cc28840a045b
sparc64 really implement itlb/dtlb automatic replacement writes

- implement "used" bit in tlb translation entry
- mark tlb entry used if qemu code/data translation succeeds
- fold i/d mmu replacement writes code into replace_tlb_1bit_lru which
adds 1bit lru replacement algorithm; previously code tried to replace
first unlocked entry only

- extract more bitmasks to named macros
- add "immu" or "dmmu" type name to debugging output where appropriate

Signed-off-by: igor.v.kovalenko@gmail.com
--
Kind regards,
Igor V. Kovalenko
target-sparc/cpu.h
target-sparc/helper.c
target-sparc/op_helper.c