diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-01 19:58:46 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-09 21:08:05 +0100 |
commit | 1f486815aea9d5482772fc0cf60c4ef186f08cba (patch) | |
tree | 1ade5c06cc2f5a256d5e6a2dd6b17decea366cb2 /target-sh4/helper.c | |
parent | e0bcb9ca36e4f3081c7e6841283646985ed9676b (diff) |
target-sh4: MMU: fix mem_idx computation
The mem_idx is wrongly computed. As written in target-sh4/cpu.h, mode 0
corresponds to kernel mode (SR_MD = 1), while mode 1 corresponds to user
mode (SR_MD = 0).
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-sh4/helper.c')
0 files changed, 0 insertions, 0 deletions