Changes in kernel/generic/src/proc/program.c [26aafe8:bfe43d5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
r26aafe8 rbfe43d5 54 54 #include <proc/program.h> 55 55 56 #ifndef LOADED_PROG_STACK_PAGES_NO 57 #define LOADED_PROG_STACK_PAGES_NO 1 58 #endif 59 56 60 /** 57 61 * Points to the binary image used as the program loader. All non-initial … … 86 90 87 91 /* 88 * Create the stackaddress space area.92 * Create the data address space area. 89 93 */ 90 94 as_area_t *area = as_area_create(as, 91 95 AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE, 92 STACK_SIZE, USTACK_ADDRESS, AS_AREA_ATTR_NONE,93 &anon_backend, NULL);96 LOADED_PROG_STACK_PAGES_NO * PAGE_SIZE, USTACK_ADDRESS, 97 AS_AREA_ATTR_NONE, &anon_backend, NULL); 94 98 if (!area) 95 99 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.