Revision afcea8cb hw/apb_pci.c

b/hw/apb_pci.c
151 151
static void pci_apb_iowriteb (void *opaque, target_phys_addr_t addr,
152 152
                                  uint32_t val)
153 153
{
154
    cpu_outb(NULL, addr & IOPORTS_MASK, val);
154
    cpu_outb(addr & IOPORTS_MASK, val);
155 155
}
156 156

  
157 157
static void pci_apb_iowritew (void *opaque, target_phys_addr_t addr,
158 158
                                  uint32_t val)
159 159
{
160
    cpu_outw(NULL, addr & IOPORTS_MASK, val);
160
    cpu_outw(addr & IOPORTS_MASK, val);
161 161
}
162 162

  
163 163
static void pci_apb_iowritel (void *opaque, target_phys_addr_t addr,
164 164
                                uint32_t val)
165 165
{
166
    cpu_outl(NULL, addr & IOPORTS_MASK, val);
166
    cpu_outl(addr & IOPORTS_MASK, val);
167 167
}
168 168

  
169 169
static uint32_t pci_apb_ioreadb (void *opaque, target_phys_addr_t addr)
170 170
{
171 171
    uint32_t val;
172 172

  
173
    val = cpu_inb(NULL, addr & IOPORTS_MASK);
173
    val = cpu_inb(addr & IOPORTS_MASK);
174 174
    return val;
175 175
}
176 176

  
......
178 178
{
179 179
    uint32_t val;
180 180

  
181
    val = cpu_inw(NULL, addr & IOPORTS_MASK);
181
    val = cpu_inw(addr & IOPORTS_MASK);
182 182
    return val;
183 183
}
184 184

  
......
186 186
{
187 187
    uint32_t val;
188 188

  
189
    val = cpu_inl(NULL, addr & IOPORTS_MASK);
189
    val = cpu_inl(addr & IOPORTS_MASK);
190 190
    return val;
191 191
}
192 192

  

Also available in: Unified diff