Subversion Repositories HelenOS-historic

Rev

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

Rev 1510 Rev 1518
Line 38... Line 38...
38
   
38
   
39
    prot |= AS_AREA_CACHEABLE;
39
    prot |= AS_AREA_CACHEABLE;
40
   
40
   
41
//  if (! ((flags & MAP_SHARED) ^ (flags & MAP_PRIVATE)))
41
//  if (! ((flags & MAP_SHARED) ^ (flags & MAP_PRIVATE)))
42
//      return NULL;
42
//      return NULL;
43
//  if (! (flags & MAP_ANONYMOUS))
43
    if (! (flags & MAP_ANONYMOUS))
44
//      return NULL;
44
        return NULL;
45
 
45
 
46
    return as_area_create(start, length, prot);
46
    return as_area_create(start, length, prot);
47
}
47
}
48
 
48
 
49
int munmap(void *start, size_t length)
49
int munmap(void *start, size_t length)