]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen.git/commit
target-arm: Correct misleading 'is_thumb' syn_* parameter names
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:31 +0000 (11:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:31 +0000 (11:17 +0000)
commitfc05f4a62c568b607ec3fe428a419bb38205b570
tree9295e9459fde3fbe94fc550ea1af38260b500023
parent3ad901bc2b98f5539af9a7d4aef140a6d8fa6442
target-arm: Correct misleading 'is_thumb' syn_* parameter names

In syndrome register values, the IL bit indicates the instruction
length, and is 1 for 4-byte instructions and 0 for 2-byte
instructions. All A64 and A32 instructions are 4-byte, but
Thumb instructions may be either 2 or 4 bytes long. Unfortunately
we named the parameter to the syn_* functions for constructing
syndromes "is_thumb", which falsely implies that it should be
set for all Thumb instructions, rather than only the 16-bit ones.
Fix the functions to name the parameter 'is_16bit' instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1454683067-16001-2-git-send-email-peter.maydell@linaro.org
target-arm/internals.h