blob: 3dbca23d11c5b01bd49fafc55b8bb74cf9d5bdf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* -----------------------------------------------------------------------------
*
* (c) The University of Glasgow 2006-2008
*
* OS-specific memory management
*
* ---------------------------------------------------------------------------*/
#ifndef SM_OSMEM_H
#define SM_OSMEM_H
void osMemInit(void);
void *osGetMBlocks(nat n);
void osFreeAllMBlocks(void);
lnat getPageSize (void);
void setExecutable (void *p, lnat len, rtsBool exec);
#endif /* SM_OSMEM_H */
|