diff options
author | Stafford Horne | 2018-07-01 07:02:11 +0200 |
---|---|---|
committer | Stafford Horne | 2018-07-03 15:40:33 +0200 |
commit | 9f6e8afad7b7bd03de6474ea871fcb724630cc0b (patch) | |
tree | 15fcb5c54cd72201f86eaca79fa36713d245bd00 /hw/i386/acpi-build.c | |
parent | linux-user: Fix struct sigaltstack for openrisc (diff) | |
download | qemu-9f6e8afad7b7bd03de6474ea871fcb724630cc0b.tar.gz qemu-9f6e8afad7b7bd03de6474ea871fcb724630cc0b.tar.xz qemu-9f6e8afad7b7bd03de6474ea871fcb724630cc0b.zip |
target/openrisc: Fix delay slot exception flag to match spec
The delay slot exception flag is only set on the SR register during
exception. Previously it was being set on both the ESR and SR this
caused QEMU to differ from the spec. The was apparent as the linux
kernel had a bug where it could boot on QEMU but not on real hardware.
The fixed logic now matches hardware.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
0 files changed, 0 insertions, 0 deletions