diff options
| author | Yongbok Kim <yongbok.kim@mips.com> | 2019-01-03 14:58:16 +0100 |
|---|---|---|
| committer | Aleksandar Markovic <amarkovic@wavecomp.com> | 2019-01-18 16:53:28 +0100 |
| commit | 5fb2dcd17921be71b55fb62d59a12992707d2d3e (patch) | |
| tree | ba2673071cd6964bd94d261ff537f0fcc2fdfc20 /target/mips/cpu.h | |
| parent | 167db30e981cd72bef15182178037e51afc8e40d (diff) | |
| download | focaccia-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.h | 1 |
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; |