aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-03-02 10:45:37 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-03-02 11:03:45 +0000
commit60d75d81b59aa073e8f3ab4c81e73e534d5e7a98 (patch)
tree75ed3c1601ecd8af28380daa38f31be5c64d0fe4 /include
parent38e2a77c9d6876e58f45cabb1dd9a6a60c22b39e (diff)
downloadqemu-60d75d81b59aa073e8f3ab4c81e73e534d5e7a98.zip
qemu-60d75d81b59aa073e8f3ab4c81e73e534d5e7a98.tar.gz
qemu-60d75d81b59aa073e8f3ab4c81e73e534d5e7a98.tar.bz2
armv7m: Forward init-svtor property to CPU object
Create an "init-svtor" property on the armv7m container object which we can forward to the CPU object. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20180220180325.29818-8-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/armv7m.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/armv7m.h b/include/hw/arm/armv7m.h
index 5c3f406..78308d1 100644
--- a/include/hw/arm/armv7m.h
+++ b/include/hw/arm/armv7m.h
@@ -42,6 +42,7 @@ typedef struct {
* that CPU accesses see. (The NVIC, bitbanding and other CPU-internal
* devices will be automatically layered on top of this view.)
* + Property "idau": IDAU interface (forwarded to CPU object)
+ * + Property "init-svtor": secure VTOR reset value (forwarded to CPU object)
*/
typedef struct ARMv7MState {
/*< private >*/
@@ -61,6 +62,7 @@ typedef struct ARMv7MState {
/* MemoryRegion the board provides to us (with its devices, RAM, etc) */
MemoryRegion *board_memory;
Object *idau;
+ uint32_t init_svtor;
} ARMv7MState;
#endif