diff options
| author | Peter Maydell | 2019-02-28 11:55:16 +0100 |
|---|---|---|
| committer | Peter Maydell | 2019-02-28 12:03:04 +0100 |
| commit | ea824b97424a46140bdcfc27d78da6c7f4ec24ff (patch) | |
| tree | ce4c3d0f96ba462ca3159a57b332fad79414cdd6 /include | |
| parent | target/arm/cpu: Allow init-svtor property to be set after realize (diff) | |
| download | qemu-ea824b97424a46140bdcfc27d78da6c7f4ec24ff.tar.gz qemu-ea824b97424a46140bdcfc27d78da6c7f4ec24ff.tar.xz qemu-ea824b97424a46140bdcfc27d78da6c7f4ec24ff.zip | |
target/arm/arm-powerctl: Add new arm_set_cpu_on_and_reset()
Currently the Arm arm-powerctl.h APIs allow:
* arm_set_cpu_on(), which powers on a CPU and sets its
initial PC and other startup state
* arm_reset_cpu(), which resets a CPU which is already on
(and fails if the CPU is powered off)
but there is no way to say "power on a CPU as if it had
just come out of reset and don't do anything else to it".
Add a new function arm_set_cpu_on_and_reset(), which does this.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190219125808.25174-5-peter.maydell@linaro.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
