Make tyConSingleDataCon_maybe more forgiving
[ghc-hetmet.git] / rts / sm / OSMem.h
index 417f106..ee6b810 100644 (file)
@@ -1,10 +1,22 @@
 /* -----------------------------------------------------------------------------
  *
- * (c) The University of Glasgow 2006
+ * (c) The University of Glasgow 2006-2008
  *
  * OS-specific memory management
  *
  * ---------------------------------------------------------------------------*/
 
+#ifndef SM_OSMEM_H
+#define SM_OSMEM_H
+
+BEGIN_RTS_PRIVATE
+
+void osMemInit(void);
+void *osGetMBlocks(nat n);
+void osFreeAllMBlocks(void);
 lnat getPageSize (void);
 void setExecutable (void *p, lnat len, rtsBool exec);
+
+END_RTS_PRIVATE
+
+#endif /* SM_OSMEM_H */