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>
This commit is contained in:
Peter Maydell 2012-06-20 11:57:23 +00:00
parent 4a9a539ffb
commit b2d06f9607
3 changed files with 26 additions and 56 deletions

View file

@ -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 */