Changeset fcd10af in mainline
- Timestamp:
- 2006-04-09T19:08:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c9857c6
- Parents:
- a7818c26
- Location:
- libc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/arch/ia64/include/thread.h
ra7818c26 rfcd10af 30 30 #define __LIBC__ia64THREAD_H__ 31 31 32 #define THREAD_INITIAL_STACK_PAGES_NO 2 33 32 34 /* This structure must be exactly 16 bytes long */ 33 35 typedef struct { -
libc/generic/thread.c
ra7818c26 rfcd10af 36 36 37 37 #include <stdio.h> 38 39 40 #ifndef THREAD_INITIAL_STACK_PAGES_NO 41 #define THREAD_INITIAL_STACK_PAGES_NO 1 42 #endif 43 38 44 39 45 extern char _tdata_start; … … 110 116 uspace_arg_t *uarg; 111 117 112 stack = (char *) malloc(getpagesize() );118 stack = (char *) malloc(getpagesize()*THREAD_INITIAL_STACK_PAGES_NO); 113 119 if (!stack) 114 120 return -1;
Note:
See TracChangeset
for help on using the changeset viewer.