All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Reif <reif@earthlink.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] hw/slavio_misc.c remove address from debug trace
Date: Sun, 21 Dec 2008 10:32:39 -0500	[thread overview]
Message-ID: <494E6197.1070905@earthlink.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: slavio_misc.diff.txt --]
[-- Type: text/plain, Size: 1104 bytes --]

--- hw/slavio_misc.c	(revision 6118)
+++ hw/slavio_misc.c	(working copy)
@@ -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;

             reply	other threads:[~2008-12-21 15:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-21 15:32 Robert Reif [this message]
2008-12-21 16:00 ` [Qemu-devel] [PATCH] hw/slavio_misc.c remove address from debug trace Blue Swirl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=494E6197.1070905@earthlink.net \
    --to=reif@earthlink.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.