/[qemu]/qemu/vl.c
ViewVC logotype

Diff of /qemu/vl.c

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

revision 1.30 by bellard, Tue Nov 11 13:48:59 2003 UTC revision 1.31 by bellard, Thu Nov 13 01:45:57 2003 UTC
# Line 2095  void kbd_write_command(CPUX86State *env, Line 2095  void kbd_write_command(CPUX86State *env,
2095          reset_requested = 1;          reset_requested = 1;
2096          cpu_x86_interrupt(global_env, CPU_INTERRUPT_EXIT);          cpu_x86_interrupt(global_env, CPU_INTERRUPT_EXIT);
2097          break;          break;
2098        case 0xff:
2099            /* ignore that - I don't know what is its use */
2100            break;
2101      default:      default:
2102          fprintf(stderr, "qemu: unsupported keyboard cmd=0x%02x\n", val);          fprintf(stderr, "qemu: unsupported keyboard cmd=0x%02x\n", val);
2103          break;          break;
# Line 2598  static void host_alarm_handler(int host_ Line 2601  static void host_alarm_handler(int host_
2601          gui_refresh_pending = 1;          gui_refresh_pending = 1;
2602      }      }
2603    
2604        /* XXX: seems dangerous to run that here. */
2605        DMA_run();
2606        SB16_run();
2607    
2608      if (gui_refresh_pending || timer_irq_pending) {      if (gui_refresh_pending || timer_irq_pending) {
2609          /* just exit from the cpu to have a chance to handle timers */          /* just exit from the cpu to have a chance to handle timers */
2610          cpu_x86_interrupt(global_env, CPU_INTERRUPT_EXIT);          cpu_x86_interrupt(global_env, CPU_INTERRUPT_EXIT);
# Line 2746  void help(void) Line 2753  void help(void)
2753             "-hda/-hdb file  use 'file' as IDE hard disk 0/1 image\n"             "-hda/-hdb file  use 'file' as IDE hard disk 0/1 image\n"
2754             "-hdc/-hdd file  use 'file' as IDE hard disk 2/3 image\n"             "-hdc/-hdd file  use 'file' as IDE hard disk 2/3 image\n"
2755             "-cdrom file     use 'file' as IDE cdrom 2 image\n"             "-cdrom file     use 'file' as IDE cdrom 2 image\n"
2756             "-boot [c|d]     boot on hard disk or CD-ROM\n"             "-boot [c|d]     boot on hard disk (c) or CD-ROM (d)\n"
2757             "-snapshot       write to temporary files instead of disk image files\n"             "-snapshot       write to temporary files instead of disk image files\n"
2758             "-m megs         set virtual RAM size to megs MB\n"             "-m megs         set virtual RAM size to megs MB\n"
2759             "-n script       set network init script [default=%s]\n"             "-n script       set network init script [default=%s]\n"
# Line 3148  int main(int argc, char **argv) Line 3155  int main(int argc, char **argv)
3155      ne2000_init();      ne2000_init();
3156      ide_init();      ide_init();
3157      kbd_init();      kbd_init();
3158        AUD_init();
3159        DMA_init();
3160        SB16_init();
3161            
3162      /* setup cpu signal handlers for MMU / self modifying code handling */      /* setup cpu signal handlers for MMU / self modifying code handling */
3163      sigfillset(&act.sa_mask);      sigfillset(&act.sa_mask);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

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