Changes in kernel/generic/src/proc/program.c [e16e2ba4:bfe43d5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/program.c
re16e2ba4 rbfe43d5 48 48 #include <ipc/ipcrsc.h> 49 49 #include <security/cap.h> 50 #include <lib/elf _load.h>50 #include <lib/elf.h> 51 51 #include <errno.h> 52 52 #include <print.h> 53 53 #include <syscall/copy.h> 54 54 #include <proc/program.h> 55 56 #ifndef LOADED_PROG_STACK_PAGES_NO 57 #define LOADED_PROG_STACK_PAGES_NO 1 58 #endif 55 59 56 60 /** … … 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.