summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorPeter Maydell2012-06-20 13:57:23 +0200
committerPeter Maydell2012-06-20 14:13:28 +0200
commitb2d06f9607e36333686b0e52a188881ce38495c7 (patch)
treee45f5ccab101209d4cdd8642296b1ce5ec982d7e /linux-user
parenttarget-arm: Remove remaining old cp15 infrastructure (diff)
downloadqemu-b2d06f9607e36333686b0e52a188881ce38495c7.tar.gz
qemu-b2d06f9607e36333686b0e52a188881ce38495c7.tar.xz
qemu-b2d06f9607e36333686b0e52a188881ce38495c7.zip
target-arm: Remove ARM_CPUID_* macros
All the uses of ARM_CPUID() to vary behaviour have now been removed, so we can delete the ARM_CPUID_* macros now. The one exception is the TI915T/925T, because of its odd behaviour where the MIDR value can be changed at runtime. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/cpu-uname.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux-user/cpu-uname.c b/linux-user/cpu-uname.c
index ddc37be4f9..59cd6477d5 100644
--- a/linux-user/cpu-uname.c
+++ b/linux-user/cpu-uname.c
@@ -35,10 +35,7 @@ const char *cpu_to_uname_machine(void *cpu_env)
* armv7l; to get a list of CPU arch names from the linux source, use:
* grep arch_name: -A1 linux/arch/arm/mm/proc-*.S
* see arch/arm/kernel/setup.c: setup_processor()
- *
- * to test by CPU id, compare cpu_env->cp15.c0_cpuid to ARM_CPUID_*
- * defines and to test by CPU feature, use arm_feature(cpu_env,
- * ARM_FEATURE_*) */
+ */
/* in theory, endianness is configurable on some ARM CPUs, but this isn't
* used in user mode emulation */