/[qemu]/qemu/hw/ppc_prep.c
ViewVC logotype

Diff of /qemu/hw/ppc_prep.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by bellard, Mon Nov 21 23:29:55 2005 UTC revision 1.25 by bellard, Wed Nov 23 21:11:49 2005 UTC
# Line 525  static void ppc_prep_init(int ram_size, Line 525  static void ppc_prep_init(int ram_size,
525  {  {
526      CPUState *env;      CPUState *env;
527      char buf[1024];      char buf[1024];
528        SetIRQFunc *set_irq;
529      m48t59_t *nvram;      m48t59_t *nvram;
530      int PPC_io_memory;      int PPC_io_memory;
531      int linux_boot, i, nb_nics1, bios_size;      int linux_boot, i, nb_nics1, bios_size;
# Line 618  static void ppc_prep_init(int ram_size, Line 619  static void ppc_prep_init(int ram_size,
619      isa_pic = pic_init(pic_irq_request, first_cpu);      isa_pic = pic_init(pic_irq_request, first_cpu);
620      //    pit = pit_init(0x40, 0);      //    pit = pit_init(0x40, 0);
621    
622      serial_init(0x3f8, 4, serial_hds[0]);      serial_init(&pic_set_irq_new, isa_pic, 0x3f8, 4, serial_hds[0]);
623      nb_nics1 = nb_nics;      nb_nics1 = nb_nics;
624      if (nb_nics1 > NE2000_NB_MAX)      if (nb_nics1 > NE2000_NB_MAX)
625          nb_nics1 = NE2000_NB_MAX;          nb_nics1 = NE2000_NB_MAX;

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26