Revision 99a0949b hw/realview_gic.c
b/hw/realview_gic.c | ||
---|---|---|
26 | 26 |
int iomemtype; |
27 | 27 |
} RealViewGICState; |
28 | 28 |
|
29 |
static uint32_t realview_gic_cpu_read(void *opaque, target_phys_addr_t offset)
|
|
29 |
static uint32_t realview_gic_cpu_read(void *opaque, a_target_phys_addr offset)
|
|
30 | 30 |
{ |
31 | 31 |
gic_state *s = (gic_state *)opaque; |
32 | 32 |
return gic_cpu_read(s, gic_get_current_cpu(), offset); |
33 | 33 |
} |
34 | 34 |
|
35 |
static void realview_gic_cpu_write(void *opaque, target_phys_addr_t offset,
|
|
35 |
static void realview_gic_cpu_write(void *opaque, a_target_phys_addr offset,
|
|
36 | 36 |
uint32_t value) |
37 | 37 |
{ |
38 | 38 |
gic_state *s = (gic_state *)opaque; |
... | ... | |
51 | 51 |
realview_gic_cpu_write |
52 | 52 |
}; |
53 | 53 |
|
54 |
static void realview_gic_map(SysBusDevice *dev, target_phys_addr_t base)
|
|
54 |
static void realview_gic_map(SysBusDevice *dev, a_target_phys_addr base)
|
|
55 | 55 |
{ |
56 | 56 |
RealViewGICState *s = FROM_SYSBUSGIC(RealViewGICState, dev); |
57 | 57 |
cpu_register_physical_memory(base, 0x1000, s->iomemtype); |
Also available in: Unified diff