On 28 June 2016 at 22:44, Andrey Smirnov <andrew.smir...@gmail.com> 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 <andrew.smir...@gmail.com> > --- > hw/intc/armv7m_nvic.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to target-arm.next, thanks. -- PMM