mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-27 13:30:41 +00:00 
			
		
		
		
	 0d09e41a51
			
		
	
	
		0d09e41a51
		
	
	
	
	
		
			
			Many of these should be cleaned up with proper qdev-/QOM-ification. Right now there are many catch-all headers in include/hw/ARCH depending on cpu.h, and this makes it necessary to compile these files per-target. However, fixing this does not belong in these patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
		
			
				
	
	
		
			12 lines
		
	
	
		
			249 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			249 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef PCI_SLOTID_CAP_H
 | |
| #define PCI_SLOTID_CAP_H
 | |
| 
 | |
| #include "qemu-common.h"
 | |
| 
 | |
| int slotid_cap_init(PCIDevice *dev, int nslots,
 | |
|                     uint8_t chassis,
 | |
|                     unsigned offset);
 | |
| void slotid_cap_cleanup(PCIDevice *dev);
 | |
| 
 | |
| #endif
 |