Diff for /qemu/hw/sga.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 18:59:40 version 1.1.1.2, 2018/04/24 19:47:01
Line 35  typedef struct ISAGAState { Line 35  typedef struct ISAGAState {
     ISADevice dev;      ISADevice dev;
 } ISASGAState;  } ISASGAState;
   
 static int isa_cirrus_vga_initfn(ISADevice *dev)  static int sga_initfn(ISADevice *dev)
 {  {
     rom_add_vga(SGABIOS_FILENAME);      rom_add_vga(SGABIOS_FILENAME);
     return 0;      return 0;
 }  }
   static void sga_class_initfn(ObjectClass *klass, void *data)
   {
       DeviceClass *dc = DEVICE_CLASS(klass);
       ISADeviceClass *ic = ISA_DEVICE_CLASS(klass);
       ic->init = sga_initfn;
       dc->desc = "Serial Graphics Adapter";
   }
   
 static ISADeviceInfo sga_info = {  static TypeInfo sga_info = {
     .qdev.name    = "sga",      .name          = "sga",
     .qdev.desc    = "Serial Graphics Adapter",      .parent        = TYPE_ISA_DEVICE,
     .qdev.size    = sizeof(ISASGAState),      .instance_size = sizeof(ISASGAState),
     .init         = isa_cirrus_vga_initfn,      .class_init    = sga_class_initfn,
 };  };
   
 static void sga_register(void)  static void sga_register_types(void)
 {  {
       isa_qdev_register(&sga_info);      type_register_static(&sga_info);
 }  }
   
 device_init(sga_register);  type_init(sga_register_types)

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com