From db17c4a7b05001aeb2868957855d1be222a275a5 Mon Sep 17 00:00:00 2001 From: NAKAMURA Gou Date: Tue, 28 May 2013 11:09:19 +0900 Subject: [PATCH] use the PID of the mcexec as PID of the McKernel process. --- kernel/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/host.c b/kernel/host.c index 4e080bb0..4f7a4831 100644 --- a/kernel/host.c +++ b/kernel/host.c @@ -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;