]> git.proxmox.com Git - mirror_qemu.git/commit - target-mips/helper.c
target-mips: add new Read-Inhibit and Execute-Inhibit exceptions
authorLeon Alrae <leon.alrae@imgtec.com>
Mon, 7 Jul 2014 10:23:59 +0000 (11:23 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Mon, 3 Nov 2014 11:48:34 +0000 (11:48 +0000)
commit92ceb440d47b9ef3ba860cdc75a7e31563a7dc0c
tree24224e212514a05c910c299770ffbc101d2f6ba4
parent7207c7f9d74816c32783a394d8072d1f978157ac
target-mips: add new Read-Inhibit and Execute-Inhibit exceptions

An Execute-Inhibit exception occurs when the virtual address of an instruction
fetch matches a TLB entry whose XI bit is set. This exception type can only
occur if the XI bit is implemented within the TLB and is enabled, this is
denoted by the PageGrain XIE bit.

An Read-Inhibit exception occurs when the virtual address of a memory load
reference matches a TLB entry whose RI bit is set. This exception type can
only occur if the RI bit is implemented within the TLB and is enabled, this is
denoted by the PageGrain RIE bit.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Yongbok Kim <yongbok.kim@imgtec.com>
target-mips/cpu.h
target-mips/helper.c