| 
									
										
										
										
											2023-06-13 15:33:46 +02:00
										 |  |  | specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_true: [files(
 | 
					
						
							| 
									
										
										
										
											2020-08-06 13:40:26 +02:00
										 |  |  |   'arch_init.c',
 | 
					
						
							|  |  |  |   'ioport.c',
 | 
					
						
							|  |  |  |   'memory.c',
 | 
					
						
							| 
									
										
										
										
											2021-05-16 20:00:20 +02:00
										 |  |  |   'physmem.c',
 | 
					
						
							| 
									
										
										
										
											2023-03-28 19:31:17 +02:00
										 |  |  |   'watchpoint.c',
 | 
					
						
							| 
									
										
										
										
											2020-08-19 13:17:19 +02:00
										 |  |  | )])
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  | system_ss.add(files(
 | 
					
						
							| 
									
										
										
										
											2021-05-16 20:00:20 +02:00
										 |  |  |   'balloon.c',
 | 
					
						
							| 
									
										
										
										
											2020-10-06 09:01:22 +02:00
										 |  |  |   'bootdevice.c',
 | 
					
						
							| 
									
										
										
										
											2021-05-16 20:00:20 +02:00
										 |  |  |   'cpus.c',
 | 
					
						
							|  |  |  |   'cpu-throttle.c',
 | 
					
						
							|  |  |  |   'cpu-timers.c',
 | 
					
						
							|  |  |  |   'datadir.c',
 | 
					
						
							| 
									
										
										
										
											2023-04-13 07:45:09 +02:00
										 |  |  |   'dirtylimit.c',
 | 
					
						
							| 
									
										
										
										
											2020-10-06 09:01:22 +02:00
										 |  |  |   'dma-helpers.c',
 | 
					
						
							| 
									
										
										
										
											2021-05-16 20:00:20 +02:00
										 |  |  |   'globals.c',
 | 
					
						
							|  |  |  |   'memory_mapping.c',
 | 
					
						
							| 
									
										
										
										
											2020-10-06 09:01:22 +02:00
										 |  |  |   'qdev-monitor.c',
 | 
					
						
							| 
									
										
										
										
											2023-04-11 20:34:18 +02:00
										 |  |  |   'qtest.c',
 | 
					
						
							| 
									
										
										
										
											2021-05-16 20:00:20 +02:00
										 |  |  |   'rtc.c',
 | 
					
						
							|  |  |  |   'runstate-action.c',
 | 
					
						
							| 
									
										
										
										
											2023-01-24 13:19:35 +01:00
										 |  |  |   'runstate-hmp-cmds.c',
 | 
					
						
							| 
									
										
										
										
											2021-05-16 20:00:20 +02:00
										 |  |  |   'runstate.c',
 | 
					
						
							| 
									
										
										
										
											2023-01-24 13:19:34 +01:00
										 |  |  |   'tpm-hmp-cmds.c',
 | 
					
						
							| 
									
										
										
										
											2021-05-16 20:00:20 +02:00
										 |  |  |   'vl.c',
 | 
					
						
							| 
									
										
										
										
											2020-10-06 09:05:29 +02:00
										 |  |  | ), sdl, libpmem, libdaxctl)
 | 
					
						
							| 
									
										
										
										
											2020-10-06 09:01:22 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-21 12:38:27 +01:00
										 |  |  | if have_tpm
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  |   system_ss.add(files('tpm.c'))
 | 
					
						
							| 
									
										
										
										
											2021-12-21 12:38:27 +01:00
										 |  |  | endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-13 15:33:47 +02:00
										 |  |  | system_ss.add(when: seccomp, if_true: files('qemu-seccomp.c'))
 | 
					
						
							| 
									
										
										
										
											2024-05-07 14:13:46 +02:00
										 |  |  | system_ss.add(when: 'CONFIG_DEVICE_TREE',
 | 
					
						
							|  |  |  |               if_true: [fdt, files('device_tree.c')],
 | 
					
						
							|  |  |  |               if_false: files('device_tree-stub.c'))
 | 
					
						
							| 
									
										
										
										
											2023-11-03 09:17:48 +01:00
										 |  |  | if host_os == 'linux'
 | 
					
						
							|  |  |  |   system_ss.add(files('async-teardown.c'))
 | 
					
						
							| 
									
										
										
										
											2023-05-26 12:20:39 +02:00
										 |  |  | endif
 |