Changes in uspace/lib/c/generic/malloc.c [faba839:fbcdeb8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/malloc.c
rfaba839 rfbcdeb8 285 285 /* Align the heap area size on page boundary */ 286 286 size_t asize = ALIGN_UP(size, PAGE_SIZE); 287 void *astart = as_area_create( AS_AREA_ANY, asize,287 void *astart = as_area_create((void *) -1, asize, 288 288 AS_AREA_WRITE | AS_AREA_READ); 289 if (astart == AS_MAP_FAILED)289 if (astart == (void *) -1) 290 290 return false; 291 291
Note:
See TracChangeset
for help on using the changeset viewer.