aboutsummaryrefslogtreecommitdiff
path: root/target-arm/cpu.h
diff options
context:
space:
mode:
authorBenoit Canet <benoit.canet@gmail.com>2011-11-09 07:32:59 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-04-21 18:04:51 +0000
commitce854d7cc3ba71e8d2a97e1fb33e13ac3283cbd4 (patch)
tree2c2700abe991175453df19cd51a61750daab7310 /target-arm/cpu.h
parent75f05e4fd770d64e5ace1bf8e9bda536903da709 (diff)
downloadqemu-ce854d7cc3ba71e8d2a97e1fb33e13ac3283cbd4.zip
qemu-ce854d7cc3ba71e8d2a97e1fb33e13ac3283cbd4.tar.gz
qemu-ce854d7cc3ba71e8d2a97e1fb33e13ac3283cbd4.tar.bz2
target-arm: remind to keep arm features in sync with linux-user/elfload.c
Signed-off-by: Benoit Canet <benoit.canet@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r--target-arm/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index c208c80..d2f5c76 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -360,6 +360,10 @@ enum arm_cpu_mode {
#define ARM_IWMMXT_wCGR2 10
#define ARM_IWMMXT_wCGR3 11
+/* If adding a feature bit which corresponds to a Linux ELF
+ * HWCAP bit, remember to update the feature-bit-to-hwcap
+ * mapping in linux-user/elfload.c:get_elf_hwcap().
+ */
enum arm_features {
ARM_FEATURE_VFP,
ARM_FEATURE_AUXCR, /* ARM1026 Auxiliary control register. */