X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=includes%2FRtsExternal.h;h=f0e7b75f8cbf6353fc3cff93c0cb4201b3d7e96f;hp=39a22fd3a8c84a63f59337747ef4a3555943db0c;hb=d92b6ce787e0a85ef99ef2ccd0a6a63665ea7f5c;hpb=1ed01a871030f05905a9595e4837dfffc087ef64 diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h index 39a22fd..f0e7b75 100644 --- a/includes/RtsExternal.h +++ b/includes/RtsExternal.h @@ -48,6 +48,7 @@ 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 StgFloat __encodeFloat (I_ size, StgByteArray arr, I_ e); extern StgFloat __int_encodeFloat (I_ j, I_ e); @@ -73,13 +74,13 @@ extern void* createAdjustor(int cconv, StgStablePtr hptr, StgFunPtr wptr, extern void freeHaskellFunctionPtr(void* ptr); /* Hpc stuff */ -extern int hs_hpc_module(char *modName,int modCount,int modHashNo,StgWord64 *tixArr); +extern int hs_hpc_module(char *modName, StgWord32 modCount, StgWord32 modHashNo,StgWord64 *tixArr); // Simple linked list of modules typedef struct _HpcModuleInfo { char *modName; // name of module - int tickCount; // number of ticks - int tickOffset; // offset into a single large .tix Array - int hashNo; // Hash number for this module's mix info + StgWord32 tickCount; // number of ticks + StgWord32 tickOffset; // offset into a single large .tix Array + StgWord32 hashNo; // Hash number for this module's mix info StgWord64 *tixArr; // tix Array; local for this module struct _HpcModuleInfo *next; } HpcModuleInfo; @@ -111,9 +112,6 @@ extern void setIOManagerPipe (int fd); extern void* allocateExec(unsigned int len); // Breakpoint stuff -extern int rts_stop_next_breakpoint; -extern int rts_stop_on_exception; -extern HsStablePtr rts_breakpoint_io_action; /* ----------------------------------------------------------------------------- Storage manager stuff exported