sparc64 name mmu registers and general cleanup
commit6e8e7d4c092951f417297120e3d3cc28840a045b
authorIgor Kovalenko <igor.v.kovalenko@gmail.com>
Sun, 26 Jul 2009 21:49:04 +0000 (27 01:49 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 27 Jul 2009 05:43:22 +0000 (27 05:43 +0000)
tree4051a100ff5bca5965d2bf07be3ebf8af8c91d19
parent33b544ba5c78c656cef6f34880cd3670d170a83f
sparc64 name mmu registers and general cleanup

- add names to mmu registers, this helps understanding the code which
uses/modifies them.
- fold i/d mmu tlb entries tag and tte arrays into arrays of tlb entries
- extract demap_tlb routine (code duplication)
- extract replace_tlb routine (code duplication)

- flush qemu tlb translations when replacing sparc64 mmu tlb entries

I have no test case which demands flushing qemu translations,
and this patch should have no other visible changes to runtime.

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