aboutsummaryrefslogtreecommitdiffstats
path: root/hw/sysbus.h
diff options
context:
space:
mode:
authorBenoît Canet <benoit.canet@gmail.com>2011-12-16 23:37:48 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-19 13:36:27 -0600
commitab0115e10ca2221a7844ac5fd18842976eec3b2b (patch)
treeaa072a560c02dc5125093640d9d9d0fe84da3fa2 /hw/sysbus.h
parentcb4e15c7ff92859d112221ef57ee4340e5c531d3 (diff)
sysbus: remove sysbus_init_mmio_cb2
This function is not longer in use so remove it. Signed-off-by: Benoît Canet <benoit.canet@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/sysbus.h')
-rw-r--r--hw/sysbus.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/sysbus.h b/hw/sysbus.h
index 9bac582ea..2f4025b22 100644
--- a/hw/sysbus.h
+++ b/hw/sysbus.h
@@ -11,7 +11,6 @@
#define QDEV_MAX_IRQ 256
typedef struct SysBusDevice SysBusDevice;
-typedef void (*mmio_mapfunc)(SysBusDevice *dev, target_phys_addr_t addr);
struct SysBusDevice {
DeviceState qdev;
@@ -21,8 +20,6 @@ struct SysBusDevice {
int num_mmio;
struct {
target_phys_addr_t addr;
- mmio_mapfunc cb;
- mmio_mapfunc unmap;
MemoryRegion *memory;
} mmio[QDEV_MAX_MMIO];
int num_pio;
@@ -43,8 +40,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_cb2(SysBusDevice *dev,
- mmio_mapfunc cb, mmio_mapfunc unmap);
void sysbus_init_mmio(SysBusDevice *dev, MemoryRegion *memory);
MemoryRegion *sysbus_mmio_get_region(SysBusDevice *dev, int n);
void sysbus_init_irq(SysBusDevice *dev, qemu_irq *p);