Diff for /qemu/hw/realview_gic.c between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 17:23:46 version 1.1.1.4, 2018/04/24 17:37:38
Line 39  static void realview_gic_cpu_write(void  Line 39  static void realview_gic_cpu_write(void 
     gic_cpu_write(s, gic_get_current_cpu(), offset, value);      gic_cpu_write(s, gic_get_current_cpu(), offset, value);
 }  }
   
 static CPUReadMemoryFunc *realview_gic_cpu_readfn[] = {  static CPUReadMemoryFunc * const realview_gic_cpu_readfn[] = {
    realview_gic_cpu_read,     realview_gic_cpu_read,
    realview_gic_cpu_read,     realview_gic_cpu_read,
    realview_gic_cpu_read     realview_gic_cpu_read
 };  };
   
 static CPUWriteMemoryFunc *realview_gic_cpu_writefn[] = {  static CPUWriteMemoryFunc * const realview_gic_cpu_writefn[] = {
    realview_gic_cpu_write,     realview_gic_cpu_write,
    realview_gic_cpu_write,     realview_gic_cpu_write,
    realview_gic_cpu_write     realview_gic_cpu_write
Line 58  static void realview_gic_map(SysBusDevic Line 58  static void realview_gic_map(SysBusDevic
     cpu_register_physical_memory(base + 0x1000, 0x1000, s->gic.iomemtype);      cpu_register_physical_memory(base + 0x1000, 0x1000, s->gic.iomemtype);
 }  }
   
 static void realview_gic_init(SysBusDevice *dev)  static int realview_gic_init(SysBusDevice *dev)
 {  {
     RealViewGICState *s = FROM_SYSBUSGIC(RealViewGICState, dev);      RealViewGICState *s = FROM_SYSBUSGIC(RealViewGICState, dev);
   
Line 66  static void realview_gic_init(SysBusDevi Line 66  static void realview_gic_init(SysBusDevi
     s->iomemtype = cpu_register_io_memory(realview_gic_cpu_readfn,      s->iomemtype = cpu_register_io_memory(realview_gic_cpu_readfn,
                                           realview_gic_cpu_writefn, s);                                            realview_gic_cpu_writefn, s);
     sysbus_init_mmio_cb(dev, 0x2000, realview_gic_map);      sysbus_init_mmio_cb(dev, 0x2000, realview_gic_map);
       return 0;
 }  }
   
 static void realview_gic_register_devices(void)  static void realview_gic_register_devices(void)

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com