mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 13:19:22 +00:00
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:
parent
6f9b7a9363
commit
607bc396c3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue