vectoriser: fix warning
[ghc-hetmet.git] / rts / sm / OSMem.h
index 417f106..b3003ed 100644 (file)
@@ -1,10 +1,24 @@
 /* -----------------------------------------------------------------------------
  *
- * (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
+
+#include "BeginPrivate.h"
+
+void osMemInit(void);
+void *osGetMBlocks(nat n);
+void osFreeMBlocks(char *addr, nat n);
+void osReleaseFreeMemory(void);
+void osFreeAllMBlocks(void);
 lnat getPageSize (void);
 void setExecutable (void *p, lnat len, rtsBool exec);
+
+#include "EndPrivate.h"
+
+#endif /* SM_OSMEM_H */