Subversion Repositories HelenOS

Rev

Rev 2984 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2984 Rev 2985
Line 93... Line 93...
93
 *
93
 *
94
 * @return Zero on success or a code from @ref errno.h on failure.
94
 * @return Zero on success or a code from @ref errno.h on failure.
95
 */
95
 */
96
int as_area_change_flags(void *address, int flags)
96
int as_area_change_flags(void *address, int flags)
97
{
97
{
98
    return __SYSCALL2(SYS_AS_AREA_DESTROY, (sysarg_t) address,
98
    return __SYSCALL2(SYS_AS_AREA_CHANGE_FLAGS, (sysarg_t) address,
99
        (sysarg_t) flags);
99
        (sysarg_t) flags);
100
}
100
}
101
 
101
 
102
static size_t heapsize = 0;
102
static size_t heapsize = 0;
103
static size_t maxheapsize = (size_t) (-1);
103
static size_t maxheapsize = (size_t) (-1);