mirror of https://gitee.com/openkylin/qemu.git
isa: isa_create(), isa_try_create() are now unused, drop
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20200610053247.1583243-22-armbru@redhat.com>
This commit is contained in:
parent
c23e05614e
commit
bd2f053dc5
|
@ -160,22 +160,6 @@ static void isa_device_init(Object *obj)
|
||||||
dev->isairq[1] = -1;
|
dev->isairq[1] = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ISADevice *isa_create(ISABus *bus, const char *name)
|
|
||||||
{
|
|
||||||
DeviceState *dev;
|
|
||||||
|
|
||||||
dev = qdev_create(BUS(bus), name);
|
|
||||||
return ISA_DEVICE(dev);
|
|
||||||
}
|
|
||||||
|
|
||||||
ISADevice *isa_try_create(ISABus *bus, const char *name)
|
|
||||||
{
|
|
||||||
DeviceState *dev;
|
|
||||||
|
|
||||||
dev = qdev_try_create(BUS(bus), name);
|
|
||||||
return ISA_DEVICE(dev);
|
|
||||||
}
|
|
||||||
|
|
||||||
ISADevice *isa_new(const char *name)
|
ISADevice *isa_new(const char *name)
|
||||||
{
|
{
|
||||||
return ISA_DEVICE(qdev_new(name));
|
return ISA_DEVICE(qdev_new(name));
|
||||||
|
|
|
@ -103,8 +103,6 @@ void isa_bus_dma(ISABus *bus, IsaDma *dma8, IsaDma *dma16);
|
||||||
IsaDma *isa_get_dma(ISABus *bus, int nchan);
|
IsaDma *isa_get_dma(ISABus *bus, int nchan);
|
||||||
MemoryRegion *isa_address_space(ISADevice *dev);
|
MemoryRegion *isa_address_space(ISADevice *dev);
|
||||||
MemoryRegion *isa_address_space_io(ISADevice *dev);
|
MemoryRegion *isa_address_space_io(ISADevice *dev);
|
||||||
ISADevice *isa_create(ISABus *bus, const char *name);
|
|
||||||
ISADevice *isa_try_create(ISABus *bus, const char *name);
|
|
||||||
ISADevice *isa_new(const char *name);
|
ISADevice *isa_new(const char *name);
|
||||||
ISADevice *isa_try_new(const char *name);
|
ISADevice *isa_try_new(const char *name);
|
||||||
bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp);
|
bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp);
|
||||||
|
|
Loading…
Reference in New Issue