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

Diff of /qemu/vl.c

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

revision 1.126 by bellard, Thu Apr 7 22:20:28 2005 UTC revision 1.127 by bellard, Sat Apr 30 16:10:35 2005 UTC
# Line 147  int full_screen = 0; Line 147  int full_screen = 0;
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 */
# Line 933  static void init_timers(void) Line 936  static void init_timers(void)
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
# Line 2746  void help(void) Line 2749  void help(void)
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
# Line 2878  enum { Line 2884  enum {
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 {
# Line 2946  const QEMUOption qemu_options[] = { Line 2953  const QEMUOption qemu_options[] = {
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 },
# Line 3397  int main(int argc, char **argv) Line 3405  int main(int argc, char **argv)
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;

Legend:
Removed from v.1.126  
changed lines
  Added in v.1.127

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