summaryrefslogtreecommitdiff
path: root/rts/sm/OSMem.h
blob: dcf8eb73dff15df7252bcb630124ba352424b3ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* -----------------------------------------------------------------------------
 *
 * (c) The University of Glasgow 2006-2008
 *
 * OS-specific memory management
 *
 * ---------------------------------------------------------------------------*/

void osMemInit(void);
void *osGetMBlocks(nat n);
void osFreeAllMBlocks(void);
lnat getPageSize (void);
void setExecutable (void *p, lnat len, rtsBool exec);