summaryrefslogtreecommitdiff
path: root/crypto/pbkdf-nettle.c
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-07-04 13:06:35 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-07-04 13:15:22 +0100
commita19861666b574f54c71d1fea9a8d8a84915dfa70 (patch)
tree4a3d6fc5d9bb3f7a4b55b15ee4cfb81625dc6ed9 /crypto/pbkdf-nettle.c
parent39e0b03dec518254fabd2acff29548d3f1d2b754 (diff)
downloadqemu-a19861666b574f54c71d1fea9a8d8a84915dfa70.tar.gz
qemu-a19861666b574f54c71d1fea9a8d8a84915dfa70.tar.bz2
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 'crypto/pbkdf-nettle.c')
0 files changed, 0 insertions, 0 deletions