/* -----------------------------------------------------------------------------
- * $Id: StgMiscClosures.h,v 1.39 2001/07/09 19:45:16 sof Exp $
+ * $Id: StgMiscClosures.h,v 1.43 2002/03/02 17:46:03 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
/* Used by the interpreter to return an unboxed value on the stack to
compiled code. */
-extern DLL_IMPORT_RTS const StgInfoTable stg_gc_unbx_r1_ret_info;
-extern DLL_IMPORT_RTS const StgInfoTable stg_gc_f1_ret_info;
-extern DLL_IMPORT_RTS const StgInfoTable stg_gc_d1_ret_info;
+extern DLL_IMPORT_RTS const StgInfoTable stg_gc_unbx_r1_info;
+extern DLL_IMPORT_RTS const StgInfoTable stg_gc_f1_info;
+extern DLL_IMPORT_RTS const StgInfoTable stg_gc_d1_info;
+extern DLL_IMPORT_RTS const StgInfoTable stg_gc_l1_info;
+
/* this is the NIL ptr for a TSO queue (e.g. runnable queue) */
#define END_TSO_QUEUE ((StgTSO *)(void*)&stg_END_TSO_QUEUE_closure)
EXTINFO_RTS stg_ap_7_upd_info;
EXTINFO_RTS stg_ap_8_upd_info;
+/* standard GC & stack check entry points */
+
+EXTFUN(stg_gc_entertop);
+EXTFUN(stg_gc_enter_1_hponly);
+EXTFUN(__stg_gc_enter_1);
+EXTFUN(stg_gc_enter_2);
+EXTFUN(stg_gc_enter_3);
+EXTFUN(stg_gc_enter_4);
+EXTFUN(stg_gc_enter_5);
+EXTFUN(stg_gc_enter_6);
+EXTFUN(stg_gc_enter_7);
+EXTFUN(stg_gc_enter_8);
+EXTFUN(stg_gc_seq_1);
+
+EI_(stg_gc_noregs_info);
+EF_(stg_gc_noregs);
+
+EI_(stg_gc_unpt_r1_info);
+EF_(stg_gc_unpt_r1);
+
+EI_(stg_ut_1_0_unreg_info);
+
+EI_(stg_gc_unbx_r1_info);
+EF_(stg_gc_unbx_r1);
+
+EI_(stg_gc_f1_info);
+EF_(stg_gc_f1);
+
+EI_(stg_gc_d1_info);
+EF_(stg_gc_d1);
+
+EI_(stg_gc_ut_1_0_info);
+EI_(stg_gc_l1_info);
+EF_(stg_gc_l1);
+EF_(stg_gc_ut_1_0);
+
+EI_(stg_gc_ut_0_1_info);
+EF_(stg_gc_ut_0_1);
+
+EXTFUN(__stg_chk_0);
+EXTFUN(__stg_chk_1);
+EXTFUN(stg_chk_1n);
+EXTFUN(stg_chk_2);
+EXTFUN(stg_chk_3);
+EXTFUN(stg_chk_4);
+EXTFUN(stg_chk_5);
+EXTFUN(stg_chk_6);
+EXTFUN(stg_chk_7);
+EXTFUN(stg_chk_8);
+EXTFUN(stg_gen_chk_ret);
+EXTFUN(stg_gen_chk);
+EXTFUN(stg_gen_hp);
+EXTFUN(stg_gen_yield);
+EXTFUN(stg_yield_noregs);
+EXTFUN(stg_yield_to_interpreter);
+EXTFUN(stg_gen_block);
+EXTFUN(stg_block_noregs);
+EXTFUN(stg_block_1);
+EXTFUN(stg_block_takemvar);
+EXTFUN(stg_block_putmvar);
+