sparc64 fix TLB match code
authorIgor Kovalenko <igor.v.kovalenko@gmail.com>
Mon, 27 Apr 2009 19:06:33 +0000 (23:06 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 27 Apr 2009 19:14:40 +0000 (19:14 +0000)
commite8641da11d6121be4094508e8bf8ee940d443d47
tree166cc04587ff9b3aa583d7ab1f1b0602e59a32af
parent82d8eea4d7e54aacb8414ef6fd590b5375b26e0c
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