qemu-e2k/target-ppc
Andreas Färber 5ba4576b85 target-ppc: Make host CPU a subclass of the host's CPU model
This avoids assigning individual class fields and contributors
forgetting to add field assignments in KVM-only code.

ppc_cpu_class_find_by_pvr() requires the CPU model classes to be
registered, so defer host CPU type registration to kvm_arch_init().

Only register the host CPU type if there is a class with matching PVR.
This lets us drop error handling from instance_init.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-03-08 21:04:53 +01:00
..
Makefile.objs target-ppc: Split model definitions out of translate_init.c 2013-03-08 21:04:52 +01:00
STATUS
cpu-models.c target-ppc: Fix remaining microcontroller typos among models 2013-03-08 21:04:52 +01:00
cpu-models.h target-ppc: Split model definitions out of translate_init.c 2013-03-08 21:04:52 +01:00
cpu-qom.h target-ppc: Convert CPU definitions 2013-03-08 21:04:51 +01:00
cpu.h target-ppc: Add mechanism for synchronizing SPRs with KVM 2013-03-08 21:04:52 +01:00
excp_helper.c PPC: Bring EPR support closer to reality 2013-01-07 17:37:11 +01:00
fpu_helper.c ppc: Add missing break 2012-06-24 01:04:43 +02:00
helper.h target-ppc: Use mul*2 in mulh* insns 2013-02-23 17:25:30 +00:00
helper_regs.h
int_helper.c target-ppc: Split out SO, OV, CA fields from XER 2013-02-23 17:25:30 +00:00
kvm.c target-ppc: Make host CPU a subclass of the host's CPU model 2013-03-08 21:04:53 +01:00
kvm_ppc.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
kvm_ppc.h PPC: KVM: Add support for EPR with KVM 2013-01-18 19:06:57 +01:00
machine.c target-ppc: Split out SO, OV, CA fields from XER 2013-02-23 17:25:30 +00:00
mem_helper.c PPC: Unify dcbzl code path 2013-02-01 01:52:02 +01:00
mfrom_table.c
mfrom_table_gen.c
misc_helper.c ppc: Move misc helpers from helper.c to misc_helper.c 2012-06-24 01:04:43 +02:00
mmu_helper.c target-ppc: Fix target_ulong vs. hwaddr format mismatches 2013-02-01 10:43:41 -06:00
timebase_helper.c ppc: Avoid AREG0 for timebase helpers 2012-06-24 01:04:43 +02:00
translate.c gen-icount.h: Rename gen_icount_start/end to gen_tb_start/end 2013-03-03 14:29:08 +00:00
translate_init.c target-ppc: Make host CPU a subclass of the host's CPU model 2013-03-08 21:04:53 +01:00