Changeset d681c17 in mainline for uspace/libc/generic/as.c
- Timestamp:
- 2006-09-05T14:52:11Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5035eeb7
- Parents:
- 2def788
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/generic/as.c
r2def788 rd681c17 37 37 #include <unistd.h> 38 38 #include <align.h> 39 #include <types.h> 40 41 /** 42 * Either 4*256M on 32-bit architecures or 16*256M on 64-bit architectures. 43 */ 44 #define MAX_HEAP_SIZE (sizeof(uintptr_t)<<28) 39 45 40 46 /** Create address space area. … … 142 148 /* Set heapsize to some meaningful value */ 143 149 if (maxheapsize == -1) 144 set_maxheapsize( ALIGN_UP(USER_ADDRESS_SPACE_SIZE_ARCH >> 1, PAGE_SIZE));150 set_maxheapsize(MAX_HEAP_SIZE); 145 151 146 152 if (!last_allocated)
Note:
See TracChangeset
for help on using the changeset viewer.