mirror of
				https://git.proxmox.com/git/qemu
				synced 2025-10-31 05:21:11 +00:00 
			
		
		
		
	pxa2xx_pic: Set base address for sysbus device.
Thid device's registration was broken since
e1f8c729fa, this should fix it.
			
			
This commit is contained in:
		
							parent
							
								
									13801f32f6
								
							
						
					
					
						commit
						0c69aa703c
					
				| @ -268,6 +268,8 @@ DeviceState *pxa2xx_pic_init(target_phys_addr_t base, CPUState *env) | ||||
| 
 | ||||
|     qdev_init_gpio_in(dev, pxa2xx_pic_set_irq, PXA2XX_PIC_SRCS); | ||||
| 
 | ||||
|     sysbus_mmio_map(sysbus_from_qdev(dev), 0, base); | ||||
| 
 | ||||
|     /* Enable IC memory-mapped registers access.  */ | ||||
|     iomemtype = cpu_register_io_memory(pxa2xx_pic_readfn, | ||||
|                     pxa2xx_pic_writefn, s, DEVICE_NATIVE_ENDIAN); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Andrzej Zaborowski
						Andrzej Zaborowski