qemu-e2k/target-ppc
Paolo Bonzini 4a92a558f4 cpu: make CPU_INTERRUPT_RESET available on all targets
On the x86, some devices need access to the CPU reset pin (INIT#).
Provide a generic service to do this, using one of the internal
cpu_interrupt targets.  Generalize the PPC-specific code for
CPU_INTERRUPT_RESET to other targets.

Since PPC does not support migration across QEMU versions (its
machine types are not versioned yet), I picked the value that
is used on x86, CPU_INTERRUPT_TGT_INT_1.  Consequently, TGT_INT_2
and TGT_INT_3 are shifted down by one while keeping their value.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-05-13 13:21:51 +02:00
..
arch_dump.c target-ppc: Add missing 'static' and 'const' attributes 2014-03-19 18:35:52 +01:00
cpu-models.c
cpu-models.h
cpu-qom.h target-ppc: Use PowerPCCPU in PowerPCCPUClass::handle_mmu_fault hook 2014-03-13 19:20:48 +01:00
cpu.h cpu: make CPU_INTERRUPT_RESET available on all targets 2014-05-13 13:21:51 +02:00
excp_helper.c PPC: Clean up DECR implementation 2014-04-08 11:20:04 +02:00
fpu_helper.c target-ppc: Correct VSX Integer to FP Conversion 2014-04-08 11:20:04 +02:00
gdbstub.c
helper_regs.h PPC: Only enter MSR_POW when no interrupts pending 2014-04-08 11:20:05 +02:00
helper.h target-ppc: Altivec 2.07: Vector Permute and Exclusive OR 2014-03-05 03:07:00 +01:00
int_helper.c target-ppc: Add missing 'static' and 'const' attributes 2014-03-19 18:35:52 +01:00
kvm_ppc.c
kvm_ppc.h target-ppc: add PowerPCCPU::cpu_dt_id 2014-03-05 03:07:03 +01:00
kvm-stub.c
kvm.c kvm: reset state from the CPU's reset method 2014-05-13 13:12:40 +02:00
machine.c target-ppc: Add missing 'static' and 'const' attributes 2014-03-19 18:35:52 +01:00
Makefile.objs
mem_helper.c
mfrom_table_gen.c
mfrom_table.c
misc_helper.c cputlb: Change tlb_flush() argument to CPUState 2014-03-13 19:52:47 +01:00
mmu_helper.c cputlb: Change tlb_set_page() argument to CPUState 2014-03-13 19:52:47 +01:00
mmu-hash32.c cputlb: Change tlb_set_page() argument to CPUState 2014-03-13 19:52:47 +01:00
mmu-hash32.h target-ppc: Use PowerPCCPU in PowerPCCPUClass::handle_mmu_fault hook 2014-03-13 19:20:48 +01:00
mmu-hash64.c cputlb: Change tlb_set_page() argument to CPUState 2014-03-13 19:52:47 +01:00
mmu-hash64.h target-ppc: Use PowerPCCPU in PowerPCCPUClass::handle_mmu_fault hook 2014-03-13 19:20:48 +01:00
STATUS
timebase_helper.c
translate_init.c PPC: Add l1 cache sizes for 970 and above systems 2014-04-08 11:20:06 +02:00
translate.c cpu: Move breakpoints field from CPU_COMMON to CPUState 2014-03-13 19:20:47 +01:00
user_only_helper.c cpu: Move exception_index field from CPU_COMMON to CPUState 2014-03-13 19:20:46 +01:00