URL
https://opencores.org/ocsvn/or1k/or1k/trunk
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);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.