| 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; |
| 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); |
| 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" |
| 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); |