diff options
| author | Jean-Hugues DeschĂȘnes <Jean-Hugues.Deschenes@ossiaco.com> | 2019-11-26 13:55:36 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2019-11-26 13:55:36 +0000 |
| commit | f900b1e5b087a02199fbb6de7038828008e9e419 (patch) | |
| tree | 28fa5ced49099f7d06556ad80c54a3d932c8f170 /hw/net/virtio-net.c | |
| parent | 4ecc984210ca1bf508a96a550ec8a93a5f833f6c (diff) | |
| download | focaccia-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