mcexec: introduction of --flags argument

Change-Id: If5b70bf06460fc709444d8135511c3699304d31f
This commit is contained in:
Balazs Gerofi
2021-03-03 14:48:55 +09:00
committed by Masamichi Takagi
parent 5664f54390
commit 71c333965c
5 changed files with 30 additions and 2 deletions

View File

@@ -589,6 +589,10 @@ static int process_msg_prepare_process(unsigned long rphys)
}
#endif
proc->mcexec_flags = pn->mcexec_flags;
dkprintf("%s: PID: %d, flags: 0x%lx\n",
__func__, proc->pid, proc->mcexec_flags);
#ifdef PROFILE_ENABLE
proc->profile = pn->profile;
thread->profile = pn->profile;