icount: Take iothread lock when running QEMU timers
[qemu/ar7.git] / hw / ppc / meson.build
blobaa4c8e6a2eac7a3bec3d98a8b4181ff0dbf71753
1 ppc_ss = ss.source_set()
2 ppc_ss.add(files(
3   'ppc.c',
4   'ppc_booke.c',
5 ))
6 ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: [files(
7   'fdt.c',
8 ), fdt])
9 ppc_ss.add(when: 'CONFIG_FW_CFG_PPC', if_true: files('fw_cfg.c'))
11 # IBM pSeries (sPAPR)
12 ppc_ss.add(when: 'CONFIG_PSERIES', if_true: files(
13   'spapr.c',
14   'spapr_caps.c',
15   'spapr_vio.c',
16   'spapr_events.c',
17   'spapr_hcall.c',
18   'spapr_iommu.c',
19   'spapr_rtas.c',
20   'spapr_pci.c',
21   'spapr_rtc.c',
22   'spapr_drc.c',
23   'spapr_cpu_core.c',
24   'spapr_ovec.c',
25   'spapr_irq.c',
26   'spapr_tpm_proxy.c',
27   'spapr_nvdimm.c',
28   'spapr_rtas_ddw.c',
29   'spapr_numa.c',
30   'pef.c',
32 ppc_ss.add(when: ['CONFIG_PSERIES', 'CONFIG_TCG'], if_true: files(
33   'spapr_softmmu.c',
35 ppc_ss.add(when: 'CONFIG_SPAPR_RNG', if_true: files('spapr_rng.c'))
36 ppc_ss.add(when: ['CONFIG_PSERIES', 'CONFIG_LINUX'], if_true: files(
37   'spapr_pci_vfio.c',
38   'spapr_pci_nvlink2.c'
41 # IBM PowerNV
42 ppc_ss.add(when: 'CONFIG_POWERNV', if_true: files(
43   'pnv.c',
44   'pnv_xscom.c',
45   'pnv_core.c',
46   'pnv_lpc.c',
47   'pnv_psi.c',
48   'pnv_occ.c',
49   'pnv_bmc.c',
50   'pnv_homer.c',
51   'pnv_pnor.c',
53 # PowerPC 4xx boards
54 ppc_ss.add(when: 'CONFIG_PPC405', if_true: files(
55   'ppc405_boards.c',
56   'ppc405_uc.c'))
57 ppc_ss.add(when: 'CONFIG_PPC440', if_true: files(
58   'ppc440_bamboo.c',
59   'ppc440_pcix.c', 'ppc440_uc.c'))
60 ppc_ss.add(when: 'CONFIG_PPC4XX', if_true: files(
61   'ppc4xx_pci.c',
62   'ppc4xx_devs.c'))
63 ppc_ss.add(when: 'CONFIG_SAM460EX', if_true: files('sam460ex.c'))
64 # PReP
65 ppc_ss.add(when: 'CONFIG_PREP', if_true: files('prep.c'))
66 ppc_ss.add(when: 'CONFIG_PREP', if_true: files('prep_systemio.c'))
67 ppc_ss.add(when: 'CONFIG_RS6000_MC', if_true: files('rs6000_mc.c'))
68 # OldWorld PowerMac
69 ppc_ss.add(when: 'CONFIG_MAC_OLDWORLD', if_true: files('mac_oldworld.c'))
70 # NewWorld PowerMac
71 ppc_ss.add(when: 'CONFIG_MAC_NEWWORLD', if_true: files('mac_newworld.c'))
72 # e500
73 ppc_ss.add(when: 'CONFIG_E500', if_true: files(
74   'e500.c',
75   'mpc8544ds.c',
76   'e500plat.c'
78 ppc_ss.add(when: 'CONFIG_E500', if_true: files(
79   'mpc8544_guts.c',
80   'ppce500_spin.c'
82 # PowerPC 440 Xilinx ML507 reference board.
83 ppc_ss.add(when: 'CONFIG_VIRTEX', if_true: files('virtex_ml507.c'))
84 # Pegasos2
85 ppc_ss.add(when: 'CONFIG_PEGASOS2', if_true: files('pegasos2.c'))
87 ppc_ss.add(when: 'CONFIG_VOF', if_true: files('vof.c'))
88 ppc_ss.add(when: ['CONFIG_VOF', 'CONFIG_PSERIES'], if_true: files('spapr_vof.c'))
90 hw_arch += {'ppc': ppc_ss}