qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [Qemu-devel] [PATCH 4/8] target/arm/arm-powerctl: Add new


From: Richard Henderson
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH 4/8] target/arm/arm-powerctl: Add new arm_set_cpu_on_and_reset()
Date: Wed, 20 Feb 2019 10:20:06 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 2/19/19 4:58 AM, Peter Maydell wrote:
> 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 <address@hidden>
> ---
>  target/arm/arm-powerctl.h | 16 +++++++++++
>  target/arm/arm-powerctl.c | 56 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 72 insertions(+)

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]