thread_init() now calls the new arch_thread_init() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9509 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1053,7 +1053,7 @@ thread_dequeue_id(struct thread_queue *q, thread_id thr_id)
|
|||||||
|
|
||||||
|
|
||||||
status_t
|
status_t
|
||||||
thread_init(kernel_args *ka)
|
thread_init(kernel_args *args)
|
||||||
{
|
{
|
||||||
struct thread *t;
|
struct thread *t;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
@@ -1074,8 +1074,11 @@ thread_init(kernel_args *ka)
|
|||||||
return sSnoozeSem;
|
return sSnoozeSem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (arch_thread_init(args) < B_OK)
|
||||||
|
panic("arch_thread_init() failed!\n");
|
||||||
|
|
||||||
// create an idle thread for each cpu
|
// create an idle thread for each cpu
|
||||||
for (i = 0; i < ka->num_cpus; i++) {
|
for (i = 0; i < args->num_cpus; i++) {
|
||||||
char temp[64];
|
char temp[64];
|
||||||
vm_region *region;
|
vm_region *region;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user