Rev 1025 | Rev 1040 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1025 | Rev 1026 | ||
---|---|---|---|
Line 120... | Line 120... | ||
120 | task, THREAD_USER_STACK); |
120 | task, THREAD_USER_STACK); |
121 | 121 | ||
122 | /* |
122 | /* |
123 | * Create the data as_area. |
123 | * Create the data as_area. |
124 | */ |
124 | */ |
125 | a = as_area_create(as, AS_AREA_STACK, 1, USTACK_ADDRESS); |
125 | a = as_area_create(as, AS_AREA_READ | AS_AREA_WRITE, 1, USTACK_ADDRESS); |
126 | 126 | ||
127 | thread_ready(t); |
127 | thread_ready(t); |
128 | 128 | ||
129 | return task; |
129 | return task; |
130 | } |
130 | } |