Home
last modified time | relevance | path

Searched hist:ea824b97424a46140bdcfc27d78da6c7f4ec24ff (Results 1 – 2 of 2) sorted by relevance

/qemu/target/arm/
H A Darm-powerctl.hea824b97424a46140bdcfc27d78da6c7f4ec24ff Thu Feb 28 10:55:16 UTC 2019 Peter Maydell <peter.maydell@linaro.org> 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
H A Darm-powerctl.cea824b97424a46140bdcfc27d78da6c7f4ec24ff Thu Feb 28 10:55:16 UTC 2019 Peter Maydell <peter.maydell@linaro.org> 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