]> git.proxmox.com Git - mirror_qemu.git/commit - target-arm/helper.c
target-arm: Define names for SCTLR bits
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:51 +0000 (10:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:51 +0000 (10:35 +0000)
commit76e3e1bcaefe0da394f328854cb72f9449f23732
treea93064e9d926153d9c297d19a1848abfe1001f68
parent83e9a4aec9ffcbcb86ca9d39d2c5aae8176411fb
target-arm: Define names for SCTLR bits

The SCTLR is full of bits for enabling or disabling various things, and so
there are many places in the code which check if certain bits are set.
Define some named constants for the SCTLR bits so these checks are easier
to read.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.c
target-arm/cpu.h
target-arm/helper.c