qemu-e2k/hw/ppc
Peter Maydell e2a176dfda hw/ppc/ppc405_boards: Fix infinite recursion by converting taihu_cpld from old_mmio
The taihu_cpld_writel() function had an obvious typo that meant that
if it was ever called it would go into an infinite recursion. Newer
versions of clang will detect and warn about this:
  hw/ppc/ppc405_boards.c:481:1: warning: all paths through this function will call itself [-Winfinite-recursion]

Fix this by converting taihu_cpld from the legacy old_mmio accessors
to new-style ones, with an impl {} declaration to cause the core
memory code to do the splitting of 16 bit and 32 bit accesses into
multiple 8-bit accesses.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2015-11-30 19:39:00 +11:00
..
e500-ccsr.h ppc: do not use ../ in include files 2013-03-01 13:57:33 +01:00
e500.c ppc: Rename ELF_MACHINE to be PPC specific 2015-09-25 12:04:44 +02:00
e500.h PPC: e500 pci host: Add support for ATMUs 2015-01-07 16:16:24 +01:00
e500plat.c Use DEFINE_MACHINE() to register all machines 2015-09-19 16:40:15 +02:00
mac_newworld.c PPC: mac99: Always add USB controller 2015-11-12 13:15:54 +11:00
mac_oldworld.c ppc: Rename ELF_MACHINE to be PPC specific 2015-09-25 12:04:44 +02:00
mac.h cuda.c: add delay to setting of SR_INT bit 2015-11-12 13:15:55 +11:00
Makefile.objs ppc/spapr: Implement H_RANDOM hypercall in QEMU 2015-09-23 10:51:11 +10:00
mpc8544_guts.c cpu: Replace cpu_single_env with CPUState current_cpu 2013-07-09 21:20:28 +02:00
mpc8544ds.c Use DEFINE_MACHINE() to register all machines 2015-09-19 16:40:15 +02:00
ppc4xx_devs.c SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
ppc4xx_pci.c hw/pci/ppc4xx_pci.c: Remove unused pci4xx_cfgaddr_read/write/ops 2014-11-04 23:26:12 +01:00
ppc405_boards.c hw/ppc/ppc405_boards: Fix infinite recursion by converting taihu_cpld from old_mmio 2015-11-30 19:39:00 +11:00
ppc405_uc.c Fix bad error handling after memory_region_init_ram() 2015-09-18 14:39:29 +02:00
ppc405.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
ppc440_bamboo.c ppc: Rename ELF_MACHINE to be PPC specific 2015-09-25 12:04:44 +02:00
ppc_booke.c hw/ppc: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
ppc.c s/cpu_get_real_ticks/cpu_get_host_ticks/ 2015-10-08 19:46:01 +03:00
ppce500_spin.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
prep.c prep: do not use CPU_LOG_IOPORT, convert to tracepoints 2015-10-23 12:38:28 +11:00
spapr_drc.c ppc: Convert spapr code to use object property iterators 2015-11-18 21:13:49 +01:00
spapr_events.c spapr: Support hotplug by specifying DRC count 2015-09-23 10:51:11 +10:00
spapr_hcall.c spapr: Support ibm,dynamic-reconfiguration-memory 2015-09-23 10:51:10 +10:00
spapr_iommu.c spapr_iommu: Provide a function to switch a TCE table to allowing VFIO 2015-10-23 10:38:10 +11:00
spapr_pci_vfio.c sPAPR: Enable EEH on VFIO PCI device only 2015-09-23 10:51:11 +10:00
spapr_pci.c spapr_pci: Allow VFIO devices to work on the normal PCI host bridge 2015-10-23 10:38:10 +11:00
spapr_rng.c ppc/spapr: Implement H_RANDOM hypercall in QEMU 2015-09-23 10:51:11 +10:00
spapr_rtas.c spapr_drc: use RTAS return codes for methods called by RTAS 2015-09-23 10:51:10 +10:00
spapr_rtc.c timer: rename NSEC_PER_SEC due to Mac OS X header clash 2015-07-20 17:01:00 +01:00
spapr_vio.c spapr: Merge sPAPREnvironment into sPAPRMachineState 2015-07-07 17:44:50 +02:00
spapr.c hw/ppc/spapr: Remove duplicated "pseries" alias 2015-11-30 19:39:00 +11:00
virtex_ml507.c ppc: Rename ELF_MACHINE to be PPC specific 2015-09-25 12:04:44 +02:00