replace stgMallocBytesRWX() with our own allocator
[ghc-hetmet.git] / rts / OSMem.h
diff --git a/rts/OSMem.h b/rts/OSMem.h
new file mode 100644 (file)
index 0000000..417f106
--- /dev/null
@@ -0,0 +1,10 @@
+/* -----------------------------------------------------------------------------
+ *
+ * (c) The University of Glasgow 2006
+ *
+ * OS-specific memory management
+ *
+ * ---------------------------------------------------------------------------*/
+
+lnat getPageSize (void);
+void setExecutable (void *p, lnat len, rtsBool exec);