Add $stop that does a finish.

This commit is contained in:
steve 2001-01-01 19:33:44 +00:00
parent 2a6f8634f6
commit 4d09c43ecf
1 changed files with 11 additions and 1 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: sys_finish.c,v 1.4 2000/02/23 02:56:56 steve Exp $" #ident "$Id: sys_finish.c,v 1.5 2001/01/01 19:33:44 steve Exp $"
#endif #endif
# include "vpi_user.h" # include "vpi_user.h"
@ -38,10 +38,20 @@ void sys_finish_register()
tf_data.compiletf = 0; tf_data.compiletf = 0;
tf_data.sizetf = 0; tf_data.sizetf = 0;
vpi_register_systf(&tf_data); vpi_register_systf(&tf_data);
tf_data.type = vpiSysTask;
tf_data.tfname = "$stop";
tf_data.calltf = sys_finish_calltf;
tf_data.compiletf = 0;
tf_data.sizetf = 0;
vpi_register_systf(&tf_data);
} }
/* /*
* $Log: sys_finish.c,v $ * $Log: sys_finish.c,v $
* Revision 1.5 2001/01/01 19:33:44 steve
* Add $stop that does a finish.
*
* Revision 1.4 2000/02/23 02:56:56 steve * Revision 1.4 2000/02/23 02:56:56 steve
* Macintosh compilers do not support ident. * Macintosh compilers do not support ident.
* *