Revision d297f464 hw/etraxfs_timer.c

b/hw/etraxfs_timer.c
80 80
{
81 81
	struct fs_timer_t *t = opaque;
82 82
	CPUState *env = t->env;
83
	cpu_abort(env, "Unsupported short access. reg=%x pc=%x.\n", 
84
		  addr, env->pc);
83
	cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx
84
		  " pc=%x.\n", addr, env->pc);
85 85
	return 0;
86 86
}
87 87

  
......
120 120
{
121 121
	struct fs_timer_t *t = opaque;
122 122
	CPUState *env = t->env;
123
	cpu_abort(env, "Unsupported short access. reg=%x pc=%x.\n", 
124
		  addr, env->pc);
123
	cpu_abort(env, "Unsupported short access. reg=" TARGET_FMT_plx
124
		  " pc=%x.\n", addr, env->pc);
125 125
}
126 126

  
127 127
#define TIMER_SLOWDOWN 1
......
309 309
			t->rw_ack_intr = 0;
310 310
			break;
311 311
		default:
312
			printf ("%s %x %x pc=%x\n",
312
			printf ("%s " TARGET_FMT_plx " %x pc=%x\n",
313 313
				__func__, addr, value, env->pc);
314 314
			break;
315 315
	}

Also available in: Unified diff