arm: drop intermediate cpu_model -> cpu type parsing and use cpu type directly

Backports defines from commit ba1ba5cca3962a9cc400c713c736b4fb8db1f38e from qemu
This commit is contained in:
Igor Mammedov 2018-03-05 00:09:54 -05:00 committed by Lioncash
parent 6f9b7a9363
commit 607bc396c3
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -2076,6 +2076,10 @@ static inline CPUARMState *cpu_init(struct uc_struct *uc, const char *cpu_model)
#ifdef TARGET_ARM
#define cpu_exec cpu_arm_exec
#define ARM_CPU_TYPE_SUFFIX "-" TYPE_ARM_CPU
#define ARM_CPU_TYPE_NAME(name) (name ARM_CPU_TYPE_SUFFIX)
#define cpu_signal_handler cpu_arm_signal_handler
#define cpu_list arm_cpu_list
#endif