mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
use correct printf format
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3611 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a702b35388
commit
444ce24195
3 changed files with 7 additions and 3 deletions
|
@ -12,7 +12,11 @@
|
|||
#define spitz_printf(format, ...) \
|
||||
fprintf(stderr, "%s: " format, __FUNCTION__, ##__VA_ARGS__)
|
||||
#undef REG_FMT
|
||||
#if TARGET_PHYS_ADDR_BITS == 32
|
||||
#define REG_FMT "0x%02x"
|
||||
#else
|
||||
#define REG_FMT "0x%02lx"
|
||||
#endif
|
||||
|
||||
/* Spitz Flash */
|
||||
#define FLASH_BASE 0x0c000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue