Changes in kernel/generic/src/proc/program.c [c0699467:bfe43d5a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
rc0699467 rbfe43d5a 40 40 #include <proc/thread.h> 41 41 #include <proc/task.h> 42 #include <proc/uarg.h> 42 43 #include <mm/as.h> 43 44 #include <mm/slab.h> … … 47 48 #include <ipc/ipcrsc.h> 48 49 #include <security/cap.h> 49 #include <lib/elf _load.h>50 #include <lib/elf.h> 50 51 #include <errno.h> 51 52 #include <print.h> 52 53 #include <syscall/copy.h> 53 54 #include <proc/program.h> 55 56 #ifndef LOADED_PROG_STACK_PAGES_NO 57 #define LOADED_PROG_STACK_PAGES_NO 1 58 #endif 54 59 55 60 /** … … 85 90 86 91 /* 87 * Create the stackaddress space area.92 * Create the data address space area. 88 93 */ 89 94 as_area_t *area = as_area_create(as, 90 95 AS_AREA_READ | AS_AREA_WRITE | AS_AREA_CACHEABLE, 91 STACK_SIZE, USTACK_ADDRESS, AS_AREA_ATTR_NONE,92 &anon_backend, NULL);96 LOADED_PROG_STACK_PAGES_NO * PAGE_SIZE, USTACK_ADDRESS, 97 AS_AREA_ATTR_NONE, &anon_backend, NULL); 93 98 if (!area) 94 99 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.