Rev 629 | Rev 673 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 629 | Rev 654 | ||
|---|---|---|---|
| Line 171... | Line 171... | ||
| 171 | * Create the data vm_area. |
171 | * Create the data vm_area. |
| 172 | */ |
172 | */ |
| 173 | a = vm_area_create(m, VMA_STACK, 1, USTACK_ADDRESS); |
173 | a = vm_area_create(m, VMA_STACK, 1, USTACK_ADDRESS); |
| 174 | if (!a) |
174 | if (!a) |
| 175 | panic("vm_area_create: vm_stack\n"); |
175 | panic("vm_area_create: vm_stack\n"); |
| 176 | vm_area_map(a, m); |
176 | vm_area_map(a, m); |
| 177 | 177 | ||
| 178 | thread_ready(t); |
178 | thread_ready(t); |
| 179 | #endif /* CONFIG_USERSPACE */ |
179 | #endif /* CONFIG_USERSPACE */ |
| 180 | 180 | ||
| 181 | #ifdef CONFIG_TEST |
181 | #ifdef CONFIG_TEST |