[Top][All Lists]

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

Re: [Qemu-arm] [RFC PATCH] armv7m_nvic: Use qemu_get_cpu(0) instead of c

From: Peter Maydell
Subject: Re: [Qemu-arm] [RFC PATCH] armv7m_nvic: Use qemu_get_cpu(0) instead of current_cpu
Date: Thu, 30 Jun 2016 14:54:26 +0100

On 28 June 2016 at 22:44, Andrey Smirnov <address@hidden> wrote:
> Starting QEMU with -S results in current_cpu containing its initial
> value of NULL. It is however possible to connect to such QEMU instance
> and query various CPU registers, one example being CPUID, and doing that
> results in QEMU segfaulting.
> Using qemu_get_cpu(0) seem reasonable enough given that ARMv7M
> architecture is a single core architecture.
> Signed-off-by: Andrey Smirnov <address@hidden>
> ---
>  hw/intc/armv7m_nvic.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Applied to target-arm.next, thanks.

-- PMM

reply via email to

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