Revision c227f099 hw/zaurus.c
b/hw/zaurus.c | ||
---|---|---|
66 | 66 |
s->prev_level = level; |
67 | 67 |
} |
68 | 68 |
|
69 |
static uint32_t scoop_readb(void *opaque, a_target_phys_addr addr)
|
|
69 |
static uint32_t scoop_readb(void *opaque, target_phys_addr_t addr)
|
|
70 | 70 |
{ |
71 | 71 |
ScoopInfo *s = (ScoopInfo *) opaque; |
72 | 72 |
|
... | ... | |
99 | 99 |
return 0; |
100 | 100 |
} |
101 | 101 |
|
102 |
static void scoop_writeb(void *opaque, a_target_phys_addr addr, uint32_t value)
|
|
102 |
static void scoop_writeb(void *opaque, target_phys_addr_t addr, uint32_t value)
|
|
103 | 103 |
{ |
104 | 104 |
ScoopInfo *s = (ScoopInfo *) opaque; |
105 | 105 |
value &= 0xffff; |
... | ... | |
217 | 217 |
|
218 | 218 |
ScoopInfo *scoop_init(PXA2xxState *cpu, |
219 | 219 |
int instance, |
220 |
a_target_phys_addr target_base) {
|
|
220 |
target_phys_addr_t target_base) {
|
|
221 | 221 |
int iomemtype; |
222 | 222 |
ScoopInfo *s; |
223 | 223 |
|
... | ... | |
270 | 270 |
.phadadj = 0x01, |
271 | 271 |
}; |
272 | 272 |
|
273 |
void sl_bootparam_write(a_target_phys_addr ptr)
|
|
273 |
void sl_bootparam_write(target_phys_addr_t ptr)
|
|
274 | 274 |
{ |
275 | 275 |
cpu_physical_memory_write(ptr, (void *)&zaurus_bootparam, |
276 | 276 |
sizeof(struct sl_param_info)); |
Also available in: Unified diff