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