Added a comment about why we are copying the passed in kernel args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7274 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -58,6 +58,7 @@ _start(kernel_args *oldka, int cpu_num)
|
|||||||
kernel_startup = true;
|
kernel_startup = true;
|
||||||
|
|
||||||
memcpy(&ka, oldka, sizeof(kernel_args));
|
memcpy(&ka, oldka, sizeof(kernel_args));
|
||||||
|
// the passed in kernel args are in a non-allocated range of memory
|
||||||
|
|
||||||
smp_set_num_cpus(ka.num_cpus);
|
smp_set_num_cpus(ka.num_cpus);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user