summary refs log tree commit diff stats
path: root/target/mips/cpu.h
diff options
context:
space:
mode:
authorYongbok Kim <yongbok.kim@mips.com>2019-01-03 14:58:16 +0100
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-01-18 16:53:28 +0100
commit5fb2dcd17921be71b55fb62d59a12992707d2d3e (patch)
treeba2673071cd6964bd94d261ff537f0fcc2fdfc20 /target/mips/cpu.h
parent167db30e981cd72bef15182178037e51afc8e40d (diff)
downloadfocaccia-qemu-5fb2dcd17921be71b55fb62d59a12992707d2d3e.tar.gz
focaccia-qemu-5fb2dcd17921be71b55fb62d59a12992707d2d3e.zip
target/mips: Provide R/W access to SAARI and SAAR CP0 registers
Provide R/W access to SAARI and SAAR CP0 registers.

Reviewed-by: Stefan Markovic <smarkovic@wavecomp.com>
Signed-off-by: Yongbok Kim <yongbok.kim@mips.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Diffstat (limited to 'target/mips/cpu.h')
-rw-r--r--target/mips/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/mips/cpu.h b/target/mips/cpu.h
index 1c2c6824fd..185702d1e9 100644
--- a/target/mips/cpu.h
+++ b/target/mips/cpu.h
@@ -901,6 +901,7 @@ struct CPUMIPSState {
     uint32_t CP0_Status_rw_bitmask; /* Read/write bits in CP0_Status */
     uint32_t CP0_TCStatus_rw_bitmask; /* Read/write bits in CP0_TCStatus */
     uint64_t insn_flags; /* Supported instruction set */
+    int saarp;
 
     /* Fields up to this point are cleared by a CPU reset */
     struct {} end_reset_fields;