aboutsummaryrefslogtreecommitdiff
path: root/hw/sysbus.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-11-27 11:32:34 +0200
committerAvi Kivity <avi@redhat.com>2011-11-28 15:38:43 +0200
commit3f7f1c8067157e06fd468f09d050803c11d4ae53 (patch)
treeccaf4d0329cbe6a7d11bb6aaaa7ea75039ee05d6 /hw/sysbus.h
parent9a542a482160182cb56f3014ad929ee9079b1532 (diff)
sysbus: remove sysbus_init_mmio()
No longer used - replaced by sysbus_init_mmio_region(). Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/sysbus.h')
-rw-r--r--hw/sysbus.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/sysbus.h b/hw/sysbus.h
index 6c36537c24..e3b4c915b5 100644
--- a/hw/sysbus.h
+++ b/hw/sysbus.h
@@ -21,10 +21,8 @@ struct SysBusDevice {
int num_mmio;
struct {
target_phys_addr_t addr;
- target_phys_addr_t size;
mmio_mapfunc cb;
mmio_mapfunc unmap;
- ram_addr_t iofunc;
MemoryRegion *memory;
} mmio[QDEV_MAX_MMIO];
int num_pio;
@@ -45,8 +43,6 @@ typedef struct {
void sysbus_register_dev(const char *name, size_t size, sysbus_initfn init);
void sysbus_register_withprop(SysBusDeviceInfo *info);
void *sysbus_new(void);
-void sysbus_init_mmio(SysBusDevice *dev, target_phys_addr_t size,
- ram_addr_t iofunc);
void sysbus_init_mmio_cb2(SysBusDevice *dev,
mmio_mapfunc cb, mmio_mapfunc unmap);
void sysbus_init_mmio_region(SysBusDevice *dev, MemoryRegion *memory);