« Previous | Next » 

Revision 1f486815

ID1f486815aea9d5482772fc0cf60c4ef186f08cba

Added by Aurelien Jarno over 12 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences