target-sh4: MMU: fix ITLB priviledge check
commit4d1e4ff63ce7c23256b24c3f1722d1abccb26451
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 1 Feb 2010 19:07:06 +0000 (1 20:07 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 9 Feb 2010 20:08:05 +0000 (9 21:08 +0100)
treefe30b0a736e6ea994ae0a83c67b662e70cce8e11
parent0f3f1ec787009388b6fd77141ceb568d9bce05f7
target-sh4: MMU: fix ITLB priviledge check

There is an ITLB access violation if SR_MD=0 (user mode) while
the high bit of the protection key is 0 (priviledge mode).

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-sh4/helper.c