Skip to contentSkip to conversation

[6119] hw/slavio_misc.c remove address from debug trace (Robert Reif)

Qemu-devel Blue Swirl 1 participant 1 message Dec 21, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 6119

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6119
Author:   blueswir1
Date:     2008-12-21 16:00:20 +0000 (Sun, 21 Dec 2008)

Log Message:
-----------
hw/slavio_misc.c remove address from debug trace (Robert Reif)

Modified Paths:
--------------
trunk/hw/slavio_misc.c

Modified: trunk/hw/slavio_misc.c
===================================================================

hw/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;