Revision a8170e5e hw/omap_synctimer.c
b/hw/omap_synctimer.c | ||
---|---|---|
36 | 36 |
s->val = omap_synctimer_read(s); |
37 | 37 |
} |
38 | 38 |
|
39 |
static uint32_t omap_synctimer_readw(void *opaque, target_phys_addr_t addr)
|
|
39 |
static uint32_t omap_synctimer_readw(void *opaque, hwaddr addr)
|
|
40 | 40 |
{ |
41 | 41 |
struct omap_synctimer_s *s = (struct omap_synctimer_s *) opaque; |
42 | 42 |
|
... | ... | |
52 | 52 |
return 0; |
53 | 53 |
} |
54 | 54 |
|
55 |
static uint32_t omap_synctimer_readh(void *opaque, target_phys_addr_t addr)
|
|
55 |
static uint32_t omap_synctimer_readh(void *opaque, hwaddr addr)
|
|
56 | 56 |
{ |
57 | 57 |
struct omap_synctimer_s *s = (struct omap_synctimer_s *) opaque; |
58 | 58 |
uint32_t ret; |
... | ... | |
66 | 66 |
} |
67 | 67 |
} |
68 | 68 |
|
69 |
static void omap_synctimer_write(void *opaque, target_phys_addr_t addr,
|
|
69 |
static void omap_synctimer_write(void *opaque, hwaddr addr,
|
|
70 | 70 |
uint32_t value) |
71 | 71 |
{ |
72 | 72 |
OMAP_BAD_REG(addr); |
Also available in: Unified diff