Revision a8170e5e hw/armv7m.c

b/hw/armv7m.c
25 25

  
26 26
}
27 27

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

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

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

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

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

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

Also available in: Unified diff