qemu-e2k/target-mips
James Hogan 951fab990d target-mips: fix get_physical_address() #if 0 build error
In get_physical_address() is a qemu_log() call inside an #if 0 block.
When enabled the following build error is hit:

target-mips/helper.c In function ‘get_physical_address’:
target-mips/helper.c:220:13: error: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘hwaddr’ [-Werror=format]

Fix the *physical (hwaddr) formatting by using "%"HWADDR_PRIx instead of
TARGET_FMT_lx.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2013-08-28 19:28:02 +02:00
..
cpu-qom.h
cpu.c
cpu.h
dsp_helper.c
gdbstub.c
helper.c target-mips: fix get_physical_address() #if 0 build error 2013-08-28 19:28:02 +02:00
helper.h
lmi_helper.c
machine.c
Makefile.objs
mips-defs.h
op_helper.c
TODO
translate_init.c target-mips: fix 34Kf configuration for DSP ASE 2013-08-03 23:33:17 +02:00
translate.c target-mips: fix decoding of microMIPS POOL32Axf instructions 2013-08-06 13:09:14 +02:00