Revision ec6338ba vl.c

b/vl.c
1222 1222
    /* timer signal */
1223 1223
    sigfillset(&act.sa_mask);
1224 1224
    act.sa_flags = 0;
1225
#if defined (TARGET_I386) && defined(USE_CODE_COPY)
1226
    act.sa_flags |= SA_ONSTACK;
1227
#endif
1228 1225
    act.sa_handler = host_alarm_handler;
1229 1226

  
1230 1227
    sigaction(SIGIO, &act, NULL);
......
1322 1319

  
1323 1320
    sigfillset(&act.sa_mask);
1324 1321
    act.sa_flags = 0;
1325
#if defined(TARGET_I386) && defined(USE_CODE_COPY)
1326
    act.sa_flags |= SA_ONSTACK;
1327
#endif
1328 1322
    act.sa_handler = host_alarm_handler;
1329 1323

  
1330 1324
    sigaction(SIGALRM, &act, NULL);
......
1399 1393
    /* timer signal */
1400 1394
    sigfillset(&act.sa_mask);
1401 1395
    act.sa_flags = 0;
1402
#if defined(TARGET_I386) && defined(USE_CODE_COPY)
1403
    act.sa_flags |= SA_ONSTACK;
1404
#endif
1405 1396
    act.sa_handler = host_alarm_handler;
1406 1397

  
1407 1398
    sigaction(SIGALRM, &act, NULL);
......
7093 7084
           "-kernel-kqemu   enable KQEMU full virtualization (default is user mode only)\n"
7094 7085
           "-no-kqemu       disable KQEMU kernel module usage\n"
7095 7086
#endif
7096
#ifdef USE_CODE_COPY
7097
           "-no-code-copy   disable code copy acceleration\n"
7098
#endif
7099 7087
#ifdef TARGET_I386
7100 7088
           "-std-vga        simulate a standard VGA card with VESA Bochs Extensions\n"
7101 7089
           "                (default is CL-GD5446 PCI VGA)\n"
......
7324 7312
    { NULL },
7325 7313
};
7326 7314

  
7327
#if defined (TARGET_I386) && defined(USE_CODE_COPY)
7328

  
7329
/* this stack is only used during signal handling */
7330
#define SIGNAL_STACK_SIZE 32768
7331

  
7332
static uint8_t *signal_stack;
7333

  
7334
#endif
7335

  
7336 7315
/* password input */
7337 7316

  
7338 7317
int qemu_key_check(BlockDriverState *bs, const char *name)

Also available in: Unified diff