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] fix slavio_intctl.c compile errors
Date: Tue, 03 Mar 2009 07:14:31 -0500	[thread overview]
Message-ID: <49AD1F27.1010705@earthlink.net> (raw)

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

Fix slavio_intctl.c compile errors when debugging is enabled.

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

--- hw/slavio_intctl.c	(revision 6676)
+++ hw/slavio_intctl.c	(working copy)
@@ -98,7 +98,7 @@
         ret = 0;
         break;
     }
-    DPRINTF("read cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, ret);
+    DPRINTF("read cpu %d reg 0x" TARGET_FMT_plx " = %x\n", s->cpu, addr, ret);
 
     return ret;
 }
@@ -110,7 +110,7 @@
     uint32_t saddr;
 
     saddr = addr >> 2;
-    DPRINTF("write cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, val);
+    DPRINTF("write cpu %d reg 0x" TARGET_FMT_plx " = %x\n", s->cpu, addr, val);
     switch (saddr) {
     case 1: // clear pending softints
         if (val & CPU_IRQ_INT15_IN)

             reply	other threads:[~2009-03-03 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 12:14 Robert Reif [this message]
2009-03-03 20:12 ` [Qemu-devel] [PATCH] fix slavio_intctl.c compile errors 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=49AD1F27.1010705@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.