Revision 81a322d4 hw/armv7m.c
b/hw/armv7m.c | ||
---|---|---|
122 | 122 |
uint32_t base; |
123 | 123 |
} BitBandState; |
124 | 124 |
|
125 |
static void bitband_init(SysBusDevice *dev)
|
|
125 |
static int bitband_init(SysBusDevice *dev)
|
|
126 | 126 |
{ |
127 | 127 |
BitBandState *s = FROM_SYSBUS(BitBandState, dev); |
128 | 128 |
int iomemtype; |
... | ... | |
130 | 130 |
iomemtype = cpu_register_io_memory(bitband_readfn, bitband_writefn, |
131 | 131 |
&s->base); |
132 | 132 |
sysbus_init_mmio(dev, 0x02000000, iomemtype); |
133 |
return 0; |
|
133 | 134 |
} |
134 | 135 |
|
135 | 136 |
static void armv7m_bitband_init(void) |
Also available in: Unified diff