use the PID of the mcexec as PID of the McKernel process.

This commit is contained in:
NAKAMURA Gou
2013-05-28 11:09:19 +09:00
parent 0b97235b9f
commit db17c4a7b0

View File

@@ -63,7 +63,7 @@ static void process_msg_prepare_process(unsigned long rphys)
+ sizeof(struct program_image_section) * n);
proc = create_process(p->entry);
proc->pid = 1024;
proc->pid = pn->pid;
proc->vm->region.user_start = pn->user_start;
proc->vm->region.user_end = pn->user_end;