target-arm: Add QOM subclasses for each ARM cpu implementation
commit777dc78411865f2721f8728c71edb0b215da57fc
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Apr 2012 17:58:31 +0000 (20 17:58 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 21 Apr 2012 18:06:27 +0000 (21 18:06 +0000)
tree35e11ac4bf8594915cc1af3921cacb80c2b41c0f
parentce854d7cc3ba71e8d2a97e1fb33e13ac3283cbd4
target-arm: Add QOM subclasses for each ARM cpu implementation

Register subclasses for each ARM CPU implementation.

Let arm_cpu_list() enumerate CPU subclasses in alphabetical order,
except for special value "any".

Replace cpu_arm_find_by_name()'s string -> CPUID lookup by storing the
CPUID (aka MIDR, Main ID Register) value in the class.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/helper.c