/[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.17 by bellard, Sat Apr 23 18:18:54 2005 UTC revision 1.18 by bellard, Sun Jun 5 15:17:18 2005 UTC
# Line 510  extern CPUPPCState *global_env; Line 510  extern CPUPPCState *global_env;
510  #define NVRAM_SIZE        0x2000  #define NVRAM_SIZE        0x2000
511    
512  /* PowerPC PREP hardware initialisation */  /* PowerPC PREP hardware initialisation */
513  void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device,  static void ppc_prep_init(int ram_size, int vga_ram_size, int boot_device,
514                     DisplayState *ds, const char **fd_filename, int snapshot,                            DisplayState *ds, const char **fd_filename, int snapshot,
515                     const char *kernel_filename, const char *kernel_cmdline,                            const char *kernel_filename, const char *kernel_cmdline,
516                     const char *initrd_filename)                            const char *initrd_filename)
517  {  {
518      char buf[1024];      char buf[1024];
519      m48t59_t *nvram;      m48t59_t *nvram;
# Line 650  void ppc_prep_init(int ram_size, int vga Line 650  void ppc_prep_init(int ram_size, int vga
650                           /* XXX: need an option to load a NVRAM image */                           /* XXX: need an option to load a NVRAM image */
651                           0,                           0,
652                           graphic_width, graphic_height, graphic_depth);                           graphic_width, graphic_height, graphic_depth);
653    
654        /* Special port to get debug messages from Open-Firmware */
655        register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL);
656  }  }
657    
658    QEMUMachine prep_machine = {
659        "prep",
660        "PowerPC PREP platform",
661        ppc_prep_init,
662    };

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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