summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorJean-Hugues DeschĂȘnes <Jean-Hugues.Deschenes@ossiaco.com>2019-11-26 13:55:36 +0000
committerPeter Maydell <peter.maydell@linaro.org>2019-11-26 13:55:36 +0000
commitf900b1e5b087a02199fbb6de7038828008e9e419 (patch)
tree28fa5ced49099f7d06556ad80c54a3d932c8f170 /hw/net/virtio-net.c
parent4ecc984210ca1bf508a96a550ec8a93a5f833f6c (diff)
downloadfocaccia-qemu-f900b1e5b087a02199fbb6de7038828008e9e419.tar.gz
focaccia-qemu-f900b1e5b087a02199fbb6de7038828008e9e419.zip
target/arm: Fix handling of cortex-m FTYPE flag in EXCRET
According to the PushStack() pseudocode in the armv7m RM,
bit 4 of the LR should be set to NOT(CONTROL.PFCA) when
an FPU is present. Current implementation is doing it for
armv8, but not for armv7. This patch makes the existing
logic applicable to both code paths.

Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes@ossiaco.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions