33491405291e6fd77a7699b803fa4600e93e8a83
[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 #include "BeginPrivate.h"
13
14 void osMemInit(void);
15 void *osGetMBlocks(nat n);
16 void osFreeAllMBlocks(void);
17 lnat getPageSize (void);
18 void setExecutable (void *p, lnat len, rtsBool exec);
19
20 #include "EndPrivate.h"
21
22 #endif /* SM_OSMEM_H */