diff options
| author | Peter Maydell | 2017-02-28 13:08:19 +0100 |
|---|---|---|
| committer | Peter Maydell | 2017-02-28 13:08:19 +0100 |
| commit | e13886e3a790b52f0b2e93cb5e84fdc2ada5471a (patch) | |
| tree | 5f76ff9d870ab65b2706330424754bc0d8a60040 /scripts | |
| parent | armv7m: Check exception return consistency (diff) | |
| download | qemu-e13886e3a790b52f0b2e93cb5e84fdc2ada5471a.tar.gz qemu-e13886e3a790b52f0b2e93cb5e84fdc2ada5471a.tar.xz qemu-e13886e3a790b52f0b2e93cb5e84fdc2ada5471a.zip | |
armv7m: Raise correct kind of UsageFault for attempts to execute ARM code
M profile doesn't implement ARM, and the architecturally required
behaviour for attempts to execute with the Thumb bit clear is to
generate a UsageFault with the CFSR INVSTATE bit set. We were
incorrectly implementing this as generating an UNDEFINSTR UsageFault;
fix this.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
