Rev 391 | Rev 430 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 391 | Rev 413 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | vm_area_t *a; |
62 | vm_area_t *a; |
63 | task_t *u; |
63 | task_t *u; |
64 | thread_t *t; |
64 | thread_t *t; |
65 | int i; |
65 | int i; |
66 | 66 | ||
67 | cpu_priority_high(); |
67 | interrupts_disable(); |
68 | 68 | ||
69 | #ifdef __SMP__ |
69 | #ifdef __SMP__ |
70 | if (config.cpu_count > 1) { |
70 | if (config.cpu_count > 1) { |
71 | /* |
71 | /* |
72 | * Create the kmp thread and wait for its completion. |
72 | * Create the kmp thread and wait for its completion. |
Line 113... | Line 113... | ||
113 | 113 | ||
114 | } |
114 | } |
115 | } |
115 | } |
116 | #endif /* __SMP__ */ |
116 | #endif /* __SMP__ */ |
117 | 117 | ||
118 | cpu_priority_low(); |
118 | interrupts_enable(); |
119 | 119 | ||
120 | #ifdef __USERSPACE__ |
120 | #ifdef __USERSPACE__ |
121 | /* |
121 | /* |
122 | * Create the first user task. |
122 | * Create the first user task. |
123 | */ |
123 | */ |