Commit 5626b017 authored by blueswir1's avatar blueswir1

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
parent 7b169687
...@@ -324,8 +324,7 @@ static uint32_t slavio_sysctrl_mem_readl(void *opaque, target_phys_addr_t addr) ...@@ -324,8 +324,7 @@ static uint32_t slavio_sysctrl_mem_readl(void *opaque, target_phys_addr_t addr)
default: default:
break; break;
} }
MISC_DPRINTF("Read system control reg 0x" TARGET_FMT_plx " = %x\n", addr, MISC_DPRINTF("Read system control %08x\n", ret);
ret);
return ret; return ret;
} }
...@@ -334,8 +333,7 @@ static void slavio_sysctrl_mem_writel(void *opaque, target_phys_addr_t addr, ...@@ -334,8 +333,7 @@ static void slavio_sysctrl_mem_writel(void *opaque, target_phys_addr_t addr,
{ {
MiscState *s = opaque; MiscState *s = opaque;
MISC_DPRINTF("Write system control reg 0x" TARGET_FMT_plx " = %x\n", addr, MISC_DPRINTF("Write system control %08x\n", val);
val);
switch (addr) { switch (addr) {
case 0: case 0:
if (val & SYS_RESET) { if (val & SYS_RESET) {
...@@ -372,8 +370,7 @@ static uint32_t slavio_led_mem_readw(void *opaque, target_phys_addr_t addr) ...@@ -372,8 +370,7 @@ static uint32_t slavio_led_mem_readw(void *opaque, target_phys_addr_t addr)
default: default:
break; break;
} }
MISC_DPRINTF("Read diagnostic LED reg 0x" TARGET_FMT_plx " = %x\n", addr, MISC_DPRINTF("Read diagnostic LED %04x\n", ret);
ret);
return ret; return ret;
} }
...@@ -382,8 +379,7 @@ static void slavio_led_mem_writew(void *opaque, target_phys_addr_t addr, ...@@ -382,8 +379,7 @@ static void slavio_led_mem_writew(void *opaque, target_phys_addr_t addr,
{ {
MiscState *s = opaque; MiscState *s = opaque;
MISC_DPRINTF("Write diagnostic LED reg 0x" TARGET_FMT_plx " = %x\n", addr, MISC_DPRINTF("Write diagnostic LED %04x\n", val & 0xffff);
val);
switch (addr) { switch (addr) {
case 0: case 0:
s->leds = val; s->leds = val;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment