ret = 0;
break;
}
- DPRINTF("read cpu %d reg 0x%x = %x\n", addr, ret);
+ DPRINTF("read cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, ret);
return ret;
}
cpu = (addr & (MAX_CPUS - 1) * TARGET_PAGE_SIZE) >> 12;
saddr = (addr & INTCTL_MAXADDR) >> 2;
- DPRINTF("write cpu %d reg 0x%x = %x\n", cpu, addr, val);
+ DPRINTF("write cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, val);
switch (saddr) {
case 1: // clear pending softints
if (val & 0x4000)
ret = 0;
break;
}
- DPRINTF("read system reg 0x%x = %x\n", addr, ret);
+ DPRINTF("read system reg 0x" TARGET_FMT_plx " = %x\n", addr, ret);
return ret;
}
uint32_t saddr;
saddr = (addr & INTCTLM_MASK) >> 2;
- DPRINTF("write system reg 0x%x = %x\n", addr, val);
+ DPRINTF("write system reg 0x" TARGET_FMT_plx " = %x\n", addr, val);
switch (saddr) {
case 2: // clear (enable)
// Force clear unused bits