]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Add and use defines for EXCRET constants
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:17 +0000 (18:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:17 +0000 (18:43 +0100)
commit4d1e7a4745c050f7ccac49a1c01437526b5130b5
tree86add4663acf2e3d762a4d38790e5ac9a1cd43d7
parent7115cdf5782922611bcc44c89eec5990db7f6466
target/arm: Add and use defines for EXCRET constants

The exception-return magic values get some new bits in v8M, which
makes some bit definitions for them worthwhile.

We don't use the bit definitions for the switch on the low bits
which checks the return type for v7M, because this is defined
in the v7M ARM ARM as a set of valid values rather than via
per-bit checks.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 1505137930-13255-7-git-send-email-peter.maydell@linaro.org
target/arm/helper.c
target/arm/internals.h