diff options
-rw-r--r-- | src/sim/process.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc index 89a82a6a1..bfc52c361 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -160,6 +160,15 @@ void Process::clone(ThreadContext *otc, ThreadContext *ntc, Process *np, TheISA::IntReg flags) { +#ifndef CLONE_VM +#define CLONE_VM 0 +#endif +#ifndef CLONE_FILES +#define CLONE_FILES 0 +#endif +#ifndef CLONE_THREAD +#define CLONE_THREAD 0 +#endif if (CLONE_VM & flags) { /** * Share the process memory address space between the new process |