]> git.proxmox.com Git - mirror_qemu.git/commit
mips: MIPSCPU model subclasses
authorIgor Mammedov <imammedo@redhat.com>
Wed, 20 Sep 2017 19:49:33 +0000 (16:49 -0300)
committerYongbok Kim <yongbok.kim@imgtec.com>
Thu, 21 Sep 2017 12:25:30 +0000 (13:25 +0100)
commit41da212c9ce9482fcfd490170c2611470254f8dc
treeb6cf842d42b55759a92bf6b04745f815d3fb3c6d
parentdf4dc10284e1d871db8adb512816a561473ffe3e
mips: MIPSCPU model subclasses

Register separate QOM types for each mips cpu model,
so it would be possible to reuse generic CPU creation
routines.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[PMD: use internal.h, use void* to hold cpu_def in MIPSCPUClass,
 mark MIPSCPU abstract, address Eduardo Habkost review]
Tested-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
target/mips/cpu-qom.h
target/mips/cpu.c
target/mips/internal.h
target/mips/translate.c
target/mips/translate_init.c