aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-06-22 13:28:39 +0100
committerPeter Maydell <peter.maydell@linaro.org>2018-06-22 13:28:39 +0100
commitcdb6099818a78e80b307432f6f9c143452135c59 (patch)
tree1d72ffccfbcfe1f640c9028b3a1856b4353de172 /include
parent344f4b1581f3d629954a1623736677827a0af750 (diff)
downloadqemu-cdb6099818a78e80b307432f6f9c143452135c59.zip
qemu-cdb6099818a78e80b307432f6f9c143452135c59.tar.gz
qemu-cdb6099818a78e80b307432f6f9c143452135c59.tar.bz2
hw/misc/tz-mpc.c: Implement registers
Implement the missing registers for the TZ MPC. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Message-id: 20180620132032.28865-3-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/tz-mpc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hw/misc/tz-mpc.h b/include/hw/misc/tz-mpc.h
index d1a65fd..6f15945 100644
--- a/include/hw/misc/tz-mpc.h
+++ b/include/hw/misc/tz-mpc.h
@@ -48,6 +48,16 @@ struct TZMPC {
/*< public >*/
+ /* State */
+ uint32_t ctrl;
+ uint32_t blk_idx;
+ uint32_t int_stat;
+ uint32_t int_en;
+ uint32_t int_info1;
+ uint32_t int_info2;
+
+ uint32_t *blk_lut;
+
qemu_irq irq;
/* Properties */