diff options
author | Julia Suvorova | 2018-06-15 15:57:16 +0200 |
---|---|---|
committer | Peter Maydell | 2018-06-15 16:23:34 +0200 |
commit | 14120108f87b3f9e1beacdf0a6096e464e62bb65 (patch) | |
tree | d406d297e04eb0b86fd16ac974aaf34673110110 /hw/usb/dev-storage.c | |
parent | exec.c: Handle IOMMUs in address_space_translate_for_iotlb() (diff) | |
download | qemu-14120108f87b3f9e1beacdf0a6096e464e62bb65.tar.gz qemu-14120108f87b3f9e1beacdf0a6096e464e62bb65.tar.xz qemu-14120108f87b3f9e1beacdf0a6096e464e62bb65.zip |
target/arm: Allow ARMv6-M Thumb2 instructions
ARMv6-M supports 6 Thumb2 instructions. This patch checks for these
instructions and allows their execution.
Like Thumb2 cores, ARMv6-M always interprets BL instruction as 32-bit.
This patch is required for future Cortex-M0 support.
Signed-off-by: Julia Suvorova <jusual@mail.ru>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20180612204632.28780-1-jusual@mail.ru
[PMM: move armv6m_insn[] and armv6m_mask[] closer to
point of use, and mark 'const'. Check for M-and-not-v7
rather than M-and-6.]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/usb/dev-storage.c')
0 files changed, 0 insertions, 0 deletions