Refactoring: extract platform-specific code from sm/MBlock.c
[ghc-hetmet.git] / rts / sm / OSMem.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The University of Glasgow 2006-2007
4  *
5  * OS-specific memory management
6  *
7  * ---------------------------------------------------------------------------*/
8
9 void osMemInit(void);
10 void *osGetMBlocks(nat n);
11 void osFreeAllMBlocks(void);
12 lnat getPageSize (void);
13 void setExecutable (void *p, lnat len, rtsBool exec);