summaryrefslogtreecommitdiffstats
path: root/qapi/crypto.json
diff options
context:
space:
mode:
authorAndrey Smirnov2016-07-04 14:06:35 +0200
committerPeter Maydell2016-07-04 14:15:22 +0200
commita19861666b574f54c71d1fea9a8d8a84915dfa70 (patch)
tree4a3d6fc5d9bb3f7a4b55b15ee4cfb81625dc6ed9 /qapi/crypto.json
parentmemory: Assert that memory_region_init_rom_device() ops aren't NULL (diff)
downloadqemu-a19861666b574f54c71d1fea9a8d8a84915dfa70.tar.gz
qemu-a19861666b574f54c71d1fea9a8d8a84915dfa70.tar.xz
qemu-a19861666b574f54c71d1fea9a8d8a84915dfa70.zip
armv7m_nvic: Use qemu_get_cpu(0) instead of current_cpu
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.smirnov@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qapi/crypto.json')
0 files changed, 0 insertions, 0 deletions