]> git.proxmox.com Git - mirror_qemu.git/commit
target/mips: Add an MMU mode for ERL
authorJames Hogan <james.hogan@imgtec.com>
Tue, 18 Jul 2017 11:55:55 +0000 (12:55 +0100)
committerYongbok Kim <yongbok.kim@imgtec.com>
Thu, 20 Jul 2017 21:42:26 +0000 (22:42 +0100)
commit42c86612d507c2a8789f2b8d920a244693c4ef7b
tree4fb67a58c82b9fb3a31b47ff97545dce9d4da58c
parentb0fc6003224543d2bdb172eca752656a6223e4a1
target/mips: Add an MMU mode for ERL

The segmentation control feature allows a legacy memory segment to
become unmapped uncached at error level (according to CP0_Status.ERL),
and in fact the user segment is already treated in this way by QEMU.

Add a new MMU mode for this state so that QEMU's mappings don't persist
between ERL=0 and ERL=1.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
[yongbok.kim@imgtec.com:
  cosmetic changes]
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
target/mips/cpu.h
target/mips/op_helper.c