|
|
|
@ -49,18 +49,12 @@
|
|
|
|
|
#include <urjtag/data_register.h>
|
|
|
|
|
#include <urjtag/cmd.h>
|
|
|
|
|
#include <urjtag/svf.h>
|
|
|
|
|
#if defined __MINGW32__ || ! defined HAVE_SIGACTION_SA_ONESHOT
|
|
|
|
|
#include <urjtag/fclock.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "svf.h"
|
|
|
|
|
|
|
|
|
|
#include "svf_bison.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __MINGW32__
|
|
|
|
|
#include <urjtag/fclock.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* CHAIN_CLOCK defines the clock function of the chain API that's
|
|
|
|
|
deployed for non-timing critical, deferable "chain clocking".
|
|
|
|
@ -635,7 +629,7 @@ urj_svf_hxr (enum generic_irdr_coding ir_dr, struct ths_params *params)
|
|
|
|
|
return URJ_STATUS_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if ! (defined __MINGW32__ || ! defined HAVE_SIGACTION_SA_ONESHOT)
|
|
|
|
|
#ifdef HAVE_SIGACTION_SA_ONESHOT
|
|
|
|
|
static int max_time_reached;
|
|
|
|
|
static void
|
|
|
|
|
sigalrm_handler (int signal)
|
|
|
|
@ -725,7 +719,7 @@ urj_svf_runtest (urj_chain_t *chain, urj_svf_parser_priv_t *priv,
|
|
|
|
|
|
|
|
|
|
urj_svf_goto_state (chain, priv->runtest_run_state);
|
|
|
|
|
|
|
|
|
|
#if defined __MINGW32__ || ! defined HAVE_SIGACTION_SA_ONESHOT
|
|
|
|
|
#ifndef HAVE_SIGACTION_SA_ONESHOT
|
|
|
|
|
if (params->max_time > 0.0)
|
|
|
|
|
{
|
|
|
|
|
double maxt = urj_lib_frealtime () + params->max_time;
|
|
|
|
|