147 |
TextConsole *vga_console; |
TextConsole *vga_console; |
148 |
CharDriverState *serial_hds[MAX_SERIAL_PORTS]; |
CharDriverState *serial_hds[MAX_SERIAL_PORTS]; |
149 |
CharDriverState *parallel_hds[MAX_PARALLEL_PORTS]; |
CharDriverState *parallel_hds[MAX_PARALLEL_PORTS]; |
150 |
|
#ifdef TARGET_I386 |
151 |
|
int win2k_install_hack = 0; |
152 |
|
#endif |
153 |
|
|
154 |
/***********************************************************/ |
/***********************************************************/ |
155 |
/* x86 ISA bus support */ |
/* x86 ISA bus support */ |
936 |
|
|
937 |
/* timer signal */ |
/* timer signal */ |
938 |
sigfillset(&act.sa_mask); |
sigfillset(&act.sa_mask); |
939 |
act.sa_flags = 0; |
act.sa_flags = 0; |
940 |
#if defined (TARGET_I386) && defined(USE_CODE_COPY) |
#if defined (TARGET_I386) && defined(USE_CODE_COPY) |
941 |
act.sa_flags |= SA_ONSTACK; |
act.sa_flags |= SA_ONSTACK; |
942 |
#endif |
#endif |
2749 |
"-enable-audio enable audio support\n" |
"-enable-audio enable audio support\n" |
2750 |
"-localtime set the real time clock to local time [default=utc]\n" |
"-localtime set the real time clock to local time [default=utc]\n" |
2751 |
"-full-screen start in full screen\n" |
"-full-screen start in full screen\n" |
2752 |
|
#ifdef TARGET_I386 |
2753 |
|
"-win2k-hack use it when installing Windows 2000 to avoid a disk full bug\n" |
2754 |
|
#endif |
2755 |
#ifdef TARGET_PPC |
#ifdef TARGET_PPC |
2756 |
"-prep Simulate a PREP system (default is PowerMAC)\n" |
"-prep Simulate a PREP system (default is PowerMAC)\n" |
2757 |
#endif |
#endif |
2884 |
QEMU_OPTION_full_screen, |
QEMU_OPTION_full_screen, |
2885 |
QEMU_OPTION_pidfile, |
QEMU_OPTION_pidfile, |
2886 |
QEMU_OPTION_no_kqemu, |
QEMU_OPTION_no_kqemu, |
2887 |
|
QEMU_OPTION_win2k_hack, |
2888 |
}; |
}; |
2889 |
|
|
2890 |
typedef struct QEMUOption { |
typedef struct QEMUOption { |
2953 |
{ "loadvm", HAS_ARG, QEMU_OPTION_loadvm }, |
{ "loadvm", HAS_ARG, QEMU_OPTION_loadvm }, |
2954 |
{ "full-screen", 0, QEMU_OPTION_full_screen }, |
{ "full-screen", 0, QEMU_OPTION_full_screen }, |
2955 |
{ "pidfile", HAS_ARG, QEMU_OPTION_pidfile }, |
{ "pidfile", HAS_ARG, QEMU_OPTION_pidfile }, |
2956 |
|
{ "win2k-hack", 0, QEMU_OPTION_win2k_hack }, |
2957 |
|
|
2958 |
/* temporary options */ |
/* temporary options */ |
2959 |
{ "pci", 0, QEMU_OPTION_pci }, |
{ "pci", 0, QEMU_OPTION_pci }, |
2960 |
{ "cirrusvga", 0, QEMU_OPTION_cirrusvga }, |
{ "cirrusvga", 0, QEMU_OPTION_cirrusvga }, |
3405 |
case QEMU_OPTION_pidfile: |
case QEMU_OPTION_pidfile: |
3406 |
create_pidfile(optarg); |
create_pidfile(optarg); |
3407 |
break; |
break; |
3408 |
|
#ifdef TARGET_I386 |
3409 |
|
case QEMU_OPTION_win2k_hack: |
3410 |
|
win2k_install_hack = 1; |
3411 |
|
break; |
3412 |
|
#endif |
3413 |
#ifdef USE_KQEMU |
#ifdef USE_KQEMU |
3414 |
case QEMU_OPTION_no_kqemu: |
case QEMU_OPTION_no_kqemu: |
3415 |
kqemu_allowed = 0; |
kqemu_allowed = 0; |