mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	 794093e80a
			
		
	
	
		794093e80a
		
	
	
	
	
		
			
			"hw/ide.h" is a mixed bag of lost IDE declarations. Extract isa_ide_init() and the TYPE_ISA_IDE QOM declarations to a new "hw/ide/isa.h" header. Rename ISAIDEState::isairq as 'irqnum' to emphasize this is not a qemu_irq object but the number (index) of an ISA IRQ. Message-Id: <20230215112712.23110-5-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Bernhard Beschow <shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
		
			
				
	
	
		
			14 lines
		
	
	
		
			316 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			316 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef HW_IDE_H
 | |
| #define HW_IDE_H
 | |
| 
 | |
| #include "exec/memory.h"
 | |
| 
 | |
| int ide_get_geometry(BusState *bus, int unit,
 | |
|                      int16_t *cyls, int8_t *heads, int8_t *secs);
 | |
| int ide_get_bios_chs_trans(BusState *bus, int unit);
 | |
| 
 | |
| /* ide/core.c */
 | |
| void ide_drive_get(DriveInfo **hd, int max_bus);
 | |
| 
 | |
| #endif /* HW_IDE_H */
 |