RTS tidyup sweep, first phase
[ghc-hetmet.git] / rts / sm / OSMem.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The University of Glasgow 2006-2008
4  *
5  * OS-specific memory management
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef SM_OSMEM_H
10 #define SM_OSMEM_H
11
12 void osMemInit(void);
13 void *osGetMBlocks(nat n);
14 void osFreeAllMBlocks(void);
15 lnat getPageSize (void);
16 void setExecutable (void *p, lnat len, rtsBool exec);
17
18 #endif /* SM_OSMEM_H */