sparc64 fix TLB match code
commit82f2cfc31b0189c7b9d88af49e5a2b8c9a335c3e
authorIgor Kovalenko <igor.v.kovalenko@gmail.com>
Mon, 27 Apr 2009 19:06:33 +0000 (27 23:06 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 27 Apr 2009 19:14:40 +0000 (27 19:14 +0000)
tree166cc04587ff9b3aa583d7ab1f1b0602e59a32af
parentc0c440f39cff00572c98e3f03e66db30f349114e
sparc64 fix TLB match code

TLB match code must respect page size, otherwise 4M page mappings may
be not found.

Also correct a typo in get_physical_address_code which should use IMMU
registers.

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