X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FRtsExternal.h;h=2272b2a4291282033c61d82f70e3f0c54395ee42;hb=f3aea765441184e9a1235dccd8ebc02d2eb4dc5a;hp=24dace2b14a632b35f0da2996d3f4180a3fe3768;hpb=c245355e6f2c7b7c95e9af910c4d420e13af9413;p=ghc-hetmet.git diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index 24dace2..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,7 +111,7 @@ 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 @@ -123,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 */