Commit 3c4cf5353b25d62795ecafbc88ea67e3ede4196f

Authored by blueswir1
1 parent d488ddd8

Fix slavio_intctl.c compile errors (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6680 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
hw/slavio_intctl.c
@@ -98,7 +98,7 @@ static uint32_t slavio_intctl_mem_readl(void *opaque, target_phys_addr_t addr) @@ -98,7 +98,7 @@ static uint32_t slavio_intctl_mem_readl(void *opaque, target_phys_addr_t addr)
98 ret = 0; 98 ret = 0;
99 break; 99 break;
100 } 100 }
101 - DPRINTF("read cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, ret); 101 + DPRINTF("read cpu %d reg 0x" TARGET_FMT_plx " = %x\n", s->cpu, addr, ret);
102 102
103 return ret; 103 return ret;
104 } 104 }
@@ -110,7 +110,7 @@ static void slavio_intctl_mem_writel(void *opaque, target_phys_addr_t addr, @@ -110,7 +110,7 @@ static void slavio_intctl_mem_writel(void *opaque, target_phys_addr_t addr,
110 uint32_t saddr; 110 uint32_t saddr;
111 111
112 saddr = addr >> 2; 112 saddr = addr >> 2;
113 - DPRINTF("write cpu %d reg 0x" TARGET_FMT_plx " = %x\n", cpu, addr, val); 113 + DPRINTF("write cpu %d reg 0x" TARGET_FMT_plx " = %x\n", s->cpu, addr, val);
114 switch (saddr) { 114 switch (saddr) {
115 case 1: // clear pending softints 115 case 1: // clear pending softints
116 if (val & CPU_IRQ_INT15_IN) 116 if (val & CPU_IRQ_INT15_IN)