Revision 43bf782b hw/vga.c

b/hw/vga.c
285 285
    return s->st01 ^ (ST01_V_RETRACE | ST01_DISP_ENABLE);
286 286
}
287 287

  
288
static uint32_t vga_ioport_read(void *opaque, uint32_t addr)
288
uint32_t vga_ioport_read(void *opaque, uint32_t addr)
289 289
{
290
    VGAState *s = opaque;
290
    VGACommonState *s = opaque;
291 291
    int val, index;
292 292

  
293 293
    /* check port range access depending on color/monochrome mode */
......
378 378
    return val;
379 379
}
380 380

  
381
static void vga_ioport_write(void *opaque, uint32_t addr, uint32_t val)
381
void vga_ioport_write(void *opaque, uint32_t addr, uint32_t val)
382 382
{
383
    VGAState *s = opaque;
383
    VGACommonState *s = opaque;
384 384
    int index;
385 385

  
386 386
    /* check port range access depending on color/monochrome mode */

Also available in: Unified diff