[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] fix slavio_intctl.c compile errors
From: |
Robert Reif |
Subject: |
[Qemu-devel] [PATCH] fix slavio_intctl.c compile errors |
Date: |
Tue, 03 Mar 2009 07:14:31 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 SeaMonkey/1.1.14 |
Fix slavio_intctl.c compile errors when debugging is enabled.
--- 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)
- [Qemu-devel] [PATCH] fix slavio_intctl.c compile errors,
Robert Reif <=