OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [toplevel.c] - Diff between revs 1557 and 1593

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1557 Rev 1593
Line 102... Line 102...
     int signum;
     int signum;
{
{
  /* Incase the user pressed ctrl+c twice without the sim reacting kill it.
  /* Incase the user pressed ctrl+c twice without the sim reacting kill it.
   * This is incase the sim locks up in a high level routine, without executeing
   * This is incase the sim locks up in a high level routine, without executeing
   * any (or) code */
   * any (or) code */
  /* FIXME: Don't kill the sim in handle_sim_command */
  if(runtime.sim.iprompt && !runtime.sim.iprompt_run)
  if(runtime.sim.iprompt)
 
    sim_done();
    sim_done();
  runtime.sim.iprompt = 1;
  runtime.sim.iprompt = 1;
  signal(SIGINT, ctrl_c);
  signal(SIGINT, ctrl_c);
}
}
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.