Revision a8170e5e hw/pl041.c

b/hw/pl041.c
97 97

  
98 98

  
99 99
#if defined(PL041_DEBUG_LEVEL)
100
static const char *get_reg_name(target_phys_addr_t offset)
100
static const char *get_reg_name(hwaddr offset)
101 101
{
102 102
    if (offset <= PL041_dr1_7) {
103 103
        return pl041_regs_name[offset >> 2];
......
327 327
    pl041_isr1_update(s);
328 328
}
329 329

  
330
static uint64_t pl041_read(void *opaque, target_phys_addr_t offset,
330
static uint64_t pl041_read(void *opaque, hwaddr offset,
331 331
                                unsigned size)
332 332
{
333 333
    pl041_state *s = (pl041_state *)opaque;
......
361 361
    return value;
362 362
}
363 363

  
364
static void pl041_write(void *opaque, target_phys_addr_t offset,
364
static void pl041_write(void *opaque, hwaddr offset,
365 365
                             uint64_t value, unsigned size)
366 366
{
367 367
    pl041_state *s = (pl041_state *)opaque;

Also available in: Unified diff