diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2019-02-28 10:55:16 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-02-28 11:03:04 +0000 |
| commit | ea824b97424a46140bdcfc27d78da6c7f4ec24ff (patch) | |
| tree | ce4c3d0f96ba462ca3159a57b332fad79414cdd6 /hw/misc/iotkit-sysctl.c | |
| parent | f9f62e4c376c6e737e162209b197dcda690e9f81 (diff) | |
| download | focaccia-qemu-ea824b97424a46140bdcfc27d78da6c7f4ec24ff.tar.gz focaccia-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 'hw/misc/iotkit-sysctl.c')
0 files changed, 0 insertions, 0 deletions