Skip to contentSkip to conversation

hw/slavio_misc.c remove address from debug trace

PATCH Applied Robert Reif 2 participants 2 messages Dec 21, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/slavio_misc.c remove address from debug trace

slavio_misc.c +4 -8
@@ -324,8 +324,7 @@
     default:
         break;
     }
-    MISC_DPRINTF("Read system control reg 0x" TARGET_FMT_plx " = %x\n", addr,
-                 ret);
+    MISC_DPRINTF("Read system control %08x\n", ret);
     return ret;
 }
 
@@ -334,8 +333,7 @@
 {
     MiscState *s = opaque;
 
-    MISC_DPRINTF("Write system control reg 0x" TARGET_FMT_plx " =  %x\n", addr,
-                 val);
+    MISC_DPRINTF("Write system control %08x\n", val);
     switch (addr) {
     case 0:
         if (val & SYS_RESET) {
@@ -372,8 +370,7 @@
     default:
         break;
     }
-    MISC_DPRINTF("Read diagnostic LED reg 0x" TARGET_FMT_plx " = %x\n", addr,
-                 ret);
+    MISC_DPRINTF("Read diagnostic LED %04x\n", ret);
     return ret;
 }
 
@@ -382,8 +379,7 @@
 {
     MiscState *s = opaque;
 
-    MISC_DPRINTF("Write diagnostic LED reg 0x" TARGET_FMT_plx " =  %x\n", addr,
-                 val);
+    MISC_DPRINTF("Write diagnostic LED %04x\n", val & 0xffff);
     switch (addr) {
     case 0:
         s->leds = val;
Applied
#1 lore raw
Quoted 1 line · Robert Reif

Thanks, applied as r6119.