From 9074999666f8a2da939eff7427444fbbd6811895 Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 10 Jan 2003 19:01:38 +0000 Subject: [PATCH] Remove thunks from vpi init. --- vvp/vvp_vpi.cc | 46 +++------------------------------------------- 1 file changed, 3 insertions(+), 43 deletions(-) diff --git a/vvp/vvp_vpi.cc b/vvp/vvp_vpi.cc index 991688551..db2622b01 100644 --- a/vvp/vvp_vpi.cc +++ b/vvp/vvp_vpi.cc @@ -1,58 +1,18 @@ #ifdef HAVE_CVS_IDENT -#ident "$Id: vvp_vpi.cc,v 1.7 2003/01/09 04:09:44 steve Exp $" +#ident "$Id: vvp_vpi.cc,v 1.8 2003/01/10 19:01:38 steve Exp $" #endif #include #include "vpi_user.h" -#include "vpithunk.h" -vpi_thunk vvpt; void vvp_vpi_init() { - vvpt.magic = VPI_THUNK_MAGIC; - vvpt.vpi_register_systf = vpi_register_systf; - vvpt.vpi_vprintf = vpi_vprintf; - vvpt.vpi_mcd_close = vpi_mcd_close; - vvpt.vpi_mcd_name = vpi_mcd_name; - vvpt.vpi_mcd_open = vpi_mcd_open; - vvpt.vpi_mcd_open_x = vpi_mcd_open_x; - vvpt.vpi_mcd_vprintf = vpi_mcd_vprintf; - vvpt.vpi_mcd_fputc = vpi_mcd_fputc; - vvpt.vpi_mcd_fgetc = vpi_mcd_fgetc; - vvpt.vpi_register_cb = vpi_register_cb; - vvpt.vpi_remove_cb = vpi_remove_cb; - vvpt.vpi_sim_vcontrol = vpi_sim_vcontrol; - vvpt.vpi_handle = vpi_handle; - vvpt.vpi_iterate = vpi_iterate; - vvpt.vpi_scan = vpi_scan; - vvpt.vpi_handle_by_index = vpi_handle_by_index; - vvpt.vpi_handle_by_name = vpi_handle_by_name; - vvpt.vpi_get_time = vpi_get_time; - vvpt.vpi_get = vpi_get; - vvpt.vpi_get_str = vpi_get_str; - vvpt.vpi_get_value = vpi_get_value; - vvpt.vpi_put_value = vpi_put_value; - vvpt.vpi_free_object= vpi_free_object; - vvpt.vpi_get_vlog_info = vpi_get_vlog_info; - vvpt.vpi_chk_error = vpi_chk_error; - vvpt.vpi_get_userdata = vpi_get_userdata; - vvpt.vpi_put_userdata = vpi_put_userdata; } /* * $Log: vvp_vpi.cc,v $ - * Revision 1.7 2003/01/09 04:09:44 steve - * Add vpi_put_userdata - * - * Revision 1.6 2002/12/11 23:55:22 steve - * Add vpi_handle_by_name to the VPI interface, - * and bump the vpithunk magic number. - * - * Revision 1.5 2002/08/12 01:35:09 steve - * conditional ident string using autoconfig. - * - * Revision 1.4 2002/08/11 23:47:05 steve - * Add missing Log and Ident strings. + * Revision 1.8 2003/01/10 19:01:38 steve + * Remove thunks from vpi init. * */