projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new FFI calling convention "prim"
[ghc-hetmet.git]
/
rts
/
RtsUtils.h
diff --git
a/rts/RtsUtils.h
b/rts/RtsUtils.h
index
96a5f0d
..
fea1d41
100644
(file)
--- a/
rts/RtsUtils.h
+++ b/
rts/RtsUtils.h
@@
-13,10
+13,10
@@
* (Checked) dynamic allocation
* -------------------------------------------------------------------------- */
* (Checked) dynamic allocation
* -------------------------------------------------------------------------- */
-extern void *stgMallocBytes(int n, char *msg)
- GNUC3_ATTRIBUTE(__malloc__);
+extern void initAllocator(void);
+extern void shutdownAllocator(void);
-extern void* stgMallocBytesRWX(int len)
+extern void *stgMallocBytes(int n, char *msg)
GNUC3_ATTRIBUTE(__malloc__);
extern void *stgReallocBytes(void *p, int n, char *msg);
GNUC3_ATTRIBUTE(__malloc__);
extern void *stgReallocBytes(void *p, int n, char *msg);
@@
-40,10
+40,6
@@
extern nat stg_strlen(char *str);
extern char *time_str(void);
extern char *ullong_format_string(ullong, char *, rtsBool);
extern char *time_str(void);
extern char *ullong_format_string(ullong, char *, rtsBool);
-#ifdef PAR
-extern ullong msTime(void);
-#endif
-
#ifdef DEBUG
extern void heapCheckFail( void );
#endif
#ifdef DEBUG
extern void heapCheckFail( void );
#endif
@@
-51,4
+47,6
@@
extern void heapCheckFail( void );
extern void* __hscore_get_saved_termios(int fd);
extern void __hscore_set_saved_termios(int fd, void* ts);
extern void* __hscore_get_saved_termios(int fd);
extern void __hscore_set_saved_termios(int fd, void* ts);
+void printRtsInfo(void);
+
#endif /* RTSUTILS_H */
#endif /* RTSUTILS_H */