Revision c227f099 hw/armv7m.c

b/hw/armv7m.c
26 26

  
27 27
}
28 28

  
29
static uint32_t bitband_readb(void *opaque, a_target_phys_addr offset)
29
static uint32_t bitband_readb(void *opaque, target_phys_addr_t offset)
30 30
{
31 31
    uint8_t v;
32 32
    cpu_physical_memory_read(bitband_addr(opaque, offset), &v, 1);
33 33
    return (v & (1 << ((offset >> 2) & 7))) != 0;
34 34
}
35 35

  
36
static void bitband_writeb(void *opaque, a_target_phys_addr offset,
36
static void bitband_writeb(void *opaque, target_phys_addr_t offset,
37 37
                           uint32_t value)
38 38
{
39 39
    uint32_t addr;
......
49 49
    cpu_physical_memory_write(addr, &v, 1);
50 50
}
51 51

  
52
static uint32_t bitband_readw(void *opaque, a_target_phys_addr offset)
52
static uint32_t bitband_readw(void *opaque, target_phys_addr_t offset)
53 53
{
54 54
    uint32_t addr;
55 55
    uint16_t mask;
......
61 61
    return (v & mask) != 0;
62 62
}
63 63

  
64
static void bitband_writew(void *opaque, a_target_phys_addr offset,
64
static void bitband_writew(void *opaque, target_phys_addr_t offset,
65 65
                           uint32_t value)
66 66
{
67 67
    uint32_t addr;
......
78 78
    cpu_physical_memory_write(addr, (uint8_t *)&v, 2);
79 79
}
80 80

  
81
static uint32_t bitband_readl(void *opaque, a_target_phys_addr offset)
81
static uint32_t bitband_readl(void *opaque, target_phys_addr_t offset)
82 82
{
83 83
    uint32_t addr;
84 84
    uint32_t mask;
......
90 90
    return (v & mask) != 0;
91 91
}
92 92

  
93
static void bitband_writel(void *opaque, a_target_phys_addr offset,
93
static void bitband_writel(void *opaque, target_phys_addr_t offset,
94 94
                           uint32_t value)
95 95
{
96 96
    uint32_t addr;

Also available in: Unified diff