Commit 5626b017d623cb88d973b53bca11613c766b1715
1 parent
7b169687
hw/slavio_misc.c remove address from debug trace (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6119 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
8 deletions
hw/slavio_misc.c
| ... | ... | @@ -324,8 +324,7 @@ static uint32_t slavio_sysctrl_mem_readl(void *opaque, target_phys_addr_t addr) |
| 324 | 324 | default: |
| 325 | 325 | break; |
| 326 | 326 | } |
| 327 | - MISC_DPRINTF("Read system control reg 0x" TARGET_FMT_plx " = %x\n", addr, | |
| 328 | - ret); | |
| 327 | + MISC_DPRINTF("Read system control %08x\n", ret); | |
| 329 | 328 | return ret; |
| 330 | 329 | } |
| 331 | 330 | |
| ... | ... | @@ -334,8 +333,7 @@ static void slavio_sysctrl_mem_writel(void *opaque, target_phys_addr_t addr, |
| 334 | 333 | { |
| 335 | 334 | MiscState *s = opaque; |
| 336 | 335 | |
| 337 | - MISC_DPRINTF("Write system control reg 0x" TARGET_FMT_plx " = %x\n", addr, | |
| 338 | - val); | |
| 336 | + MISC_DPRINTF("Write system control %08x\n", val); | |
| 339 | 337 | switch (addr) { |
| 340 | 338 | case 0: |
| 341 | 339 | if (val & SYS_RESET) { |
| ... | ... | @@ -372,8 +370,7 @@ static uint32_t slavio_led_mem_readw(void *opaque, target_phys_addr_t addr) |
| 372 | 370 | default: |
| 373 | 371 | break; |
| 374 | 372 | } |
| 375 | - MISC_DPRINTF("Read diagnostic LED reg 0x" TARGET_FMT_plx " = %x\n", addr, | |
| 376 | - ret); | |
| 373 | + MISC_DPRINTF("Read diagnostic LED %04x\n", ret); | |
| 377 | 374 | return ret; |
| 378 | 375 | } |
| 379 | 376 | |
| ... | ... | @@ -382,8 +379,7 @@ static void slavio_led_mem_writew(void *opaque, target_phys_addr_t addr, |
| 382 | 379 | { |
| 383 | 380 | MiscState *s = opaque; |
| 384 | 381 | |
| 385 | - MISC_DPRINTF("Write diagnostic LED reg 0x" TARGET_FMT_plx " = %x\n", addr, | |
| 386 | - val); | |
| 382 | + MISC_DPRINTF("Write diagnostic LED %04x\n", val & 0xffff); | |
| 387 | 383 | switch (addr) { |
| 388 | 384 | case 0: |
| 389 | 385 | s->leds = val; | ... | ... |