mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qdev: drop iobase properties from isa bus
Lot of ISA devices work at fixed addresses, so having iobase as bus property doesn't make much sense. Devices which can have different iobases will get a device property. Also simply hard-code stuff which can't be configured anyway. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
316940b062
commit
86c8615784
9 changed files with 23 additions and 34 deletions
4
hw/isa.h
4
hw/isa.h
|
@ -12,7 +12,6 @@ typedef struct ISADeviceInfo ISADeviceInfo;
|
|||
|
||||
struct ISADevice {
|
||||
DeviceState qdev;
|
||||
uint32_t iobase[2];
|
||||
uint32_t isairq[2];
|
||||
qemu_irq *irqs[2];
|
||||
int nirqs;
|
||||
|
@ -30,8 +29,7 @@ void isa_connect_irq(ISADevice *dev, int devirq, int isairq);
|
|||
qemu_irq isa_reserve_irq(int isairq);
|
||||
void isa_init_irq(ISADevice *dev, qemu_irq *p);
|
||||
void isa_qdev_register(ISADeviceInfo *info);
|
||||
ISADevice *isa_create_simple(const char *name, uint32_t iobase, uint32_t iobase2,
|
||||
uint32_t irq, uint32_t irq2);
|
||||
ISADevice *isa_create_simple(const char *name, uint32_t irq, uint32_t irq2);
|
||||
|
||||
extern target_phys_addr_t isa_mem_base;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue