* [Qemu-devel] [PATCH] fix slavio_intctl.c compile errors
@ 2009-03-03 12:14 Robert Reif
2009-03-03 20:12 ` Blue Swirl
0 siblings, 1 reply; 2+ messages in thread
From: Robert Reif @ 2009-03-03 12:14 UTC (permalink / raw)
To: qemu-devel
[-- 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-03 20:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 12:14 [Qemu-devel] [PATCH] fix slavio_intctl.c compile errors Robert Reif
2009-03-03 20:12 ` Blue Swirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).