summary refs log tree commit diff stats
path: root/include/hw/misc/tz-mpc.h
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/hw/misc/tz-mpc.h
parent344f4b1581f3d629954a1623736677827a0af750 (diff)
downloadfocaccia-qemu-cdb6099818a78e80b307432f6f9c143452135c59.tar.gz
focaccia-qemu-cdb6099818a78e80b307432f6f9c143452135c59.zip
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/hw/misc/tz-mpc.h')
-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 d1a65fd9a3..6f15945410 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 */