diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2019-02-01 14:55:41 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2019-02-01 14:55:41 +0000 |
commit | 66647809f56cc8c7c8a39032e54106f3cd4283f4 (patch) | |
tree | b46b2c29eebbaaa24d17e935a2a36c1b39df850a /include/hw | |
parent | e4c81e3a451f9ce692f2644b395facbbdc3891cb (diff) | |
download | qemu-66647809f56cc8c7c8a39032e54106f3cd4283f4.zip qemu-66647809f56cc8c7c8a39032e54106f3cd4283f4.tar.gz qemu-66647809f56cc8c7c8a39032e54106f3cd4283f4.tar.bz2 |
armv7m: Pass through start-powered-off CPU property
Expose "start-powered-off" as a property of the ARMv7M container,
which we just pass through to the CPU object in the same way that we
do for "init-svtor" and "idau". (We want this for the SSE-200, which
powers up only the first CPU at reset and leaves the second powered
down.)
As with the other CPU properties here, we can't just use alias
properties, because the CPU QOM object is not created until armv7m
realize time.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190121185118.18550-4-peter.maydell@linaro.org
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/arm/armv7m.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/armv7m.h b/include/hw/arm/armv7m.h index 2ba2495..e96a98f 100644 --- a/include/hw/arm/armv7m.h +++ b/include/hw/arm/armv7m.h @@ -65,6 +65,7 @@ typedef struct ARMv7MState { Object *idau; uint32_t init_svtor; bool enable_bitband; + bool start_powered_off; } ARMv7MState; #endif |