X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRtsExternal.h;h=2272b2a4291282033c61d82f70e3f0c54395ee42;hb=432b9c9322181a3644083e3c19b7e240d90659e7;hp=b95da387bdb33c994355ade8988a12099b3a8759;hpb=a0d2d5bb9a949bc683d1fe576260f8c09930948a;p=ghc-hetmet.git diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index b95da38..2272b2a 100644 --- a/includes/RtsExternal.h +++ b/includes/RtsExternal.h @@ -48,9 +48,12 @@ extern unsigned int n_capabilities; /* grimy low-level support functions defined in StgPrimFloat.c */ extern StgDouble __encodeDouble (I_ size, StgByteArray arr, I_ e); +extern StgDouble __2Int_encodeDouble (I_ j_high, I_ j_low, I_ e); extern StgDouble __int_encodeDouble (I_ j, I_ e); +extern StgDouble __word_encodeDouble (W_ j, I_ e); extern StgFloat __encodeFloat (I_ size, StgByteArray arr, I_ e); extern StgFloat __int_encodeFloat (I_ j, I_ e); +extern StgFloat __word_encodeFloat (W_ j, I_ e); extern StgInt isDoubleNaN(StgDouble d); extern StgInt isDoubleInfinite(StgDouble d); extern StgInt isDoubleDenormalized(StgDouble d); @@ -91,7 +94,7 @@ extern HpcModuleInfo *hs_hpc_rootModule(void); extern int rts_InstallConsoleEvent ( int action, StgStablePtr *handler ); extern void rts_ConsoleHandlerDone ( int ev ); #else -extern int stg_sig_install (int, int, StgStablePtr *, void *); +extern int stg_sig_install (int, int, void *); #endif #if defined(mingw32_HOST_OS) @@ -108,12 +111,9 @@ void sendIOManagerEvent (HsWord32 event); extern void setIOManagerPipe (int fd); #endif -extern void* allocateExec(unsigned int len); +extern void* allocateExec(unsigned int len, void **exec_addr); // Breakpoint stuff -extern int rts_stop_next_breakpoint; -extern int rts_stop_on_exception; -extern HsStablePtr rts_breakpoint_io_action; /* ----------------------------------------------------------------------------- Storage manager stuff exported @@ -126,6 +126,4 @@ extern void revertCAFs( void ); extern void dirty_MUT_VAR(StgRegTable *reg, StgClosure *p); extern void dirty_MVAR(StgRegTable *reg, StgClosure *p); -extern void dirty_TSO(StgClosure *tso); - #endif /* RTSEXTERNAL_H */