aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorYongbok Kim <yongbok.kim@mips.com>2019-01-03 15:39:31 +0100
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-01-18 16:53:28 +0100
commite5345d96752a9dec441b022502be34e01bcacca8 (patch)
tree578cad921d1d4b775c0724acc87255ef47af4ae3 /include/hw
parent5fb2dcd17921be71b55fb62d59a12992707d2d3e (diff)
downloadqemu-e5345d96752a9dec441b022502be34e01bcacca8.zip
qemu-e5345d96752a9dec441b022502be34e01bcacca8.tar.gz
qemu-e5345d96752a9dec441b022502be34e01bcacca8.tar.bz2
target/mips: Add field and R/W access to ITU control register ICR0
Add field and R/W access to ITU control register ICR0. 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 'include/hw')
-rw-r--r--include/hw/misc/mips_itu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/misc/mips_itu.h b/include/hw/misc/mips_itu.h
index 030eb4a..45a0c51 100644
--- a/include/hw/misc/mips_itu.h
+++ b/include/hw/misc/mips_itu.h
@@ -66,6 +66,10 @@ typedef struct MIPSITUState {
/* ITC Configuration Tags */
uint64_t ITCAddressMap[ITC_ADDRESSMAP_NUM];
MemoryRegion tag_io;
+
+ /* ITU Control Register */
+ uint64_t icr0;
+
} MIPSITUState;
/* Get ITC Configuration Tag memory region. */