syscall_emul: [PATCH 15/22] add clone/execve for threading and multiprocess simulations
authorBrandon Potter <brandon.potter@amd.com>
Mon, 27 Feb 2017 19:10:15 +0000 (14:10 -0500)
committerBrandon Potter <brandon.potter@amd.com>
Mon, 27 Feb 2017 19:10:15 +0000 (14:10 -0500)
commit2367198921765848a4f5b3d020a7cc5776209f80
tree00cff9357d9e5f2bec277cf937e8a73944ce1c98
parent073cb266079edddec64ea8cd5169dd2cbef8f812
syscall_emul: [PATCH 15/22] add clone/execve for threading and multiprocess simulations

Modifies the clone system call and adds execve system call. Requires allowing
processes to steal thread contexts from other processes in the same system
object and the ability to detach pieces of process state (such as MemState)
to allow dynamic sharing.
33 files changed:
src/arch/alpha/linux/process.cc
src/arch/alpha/process.cc
src/arch/arm/linux/process.cc
src/arch/arm/process.cc
src/arch/generic/types.hh
src/arch/mips/process.cc
src/arch/power/process.cc
src/arch/riscv/process.cc
src/arch/sparc/linux/syscalls.cc
src/arch/sparc/process.cc
src/arch/sparc/process.hh
src/arch/x86/linux/process.cc
src/arch/x86/linux/process.hh
src/arch/x86/process.cc
src/arch/x86/process.hh
src/arch/x86/types.hh
src/cpu/checker/thread_context.hh
src/cpu/o3/thread_context.hh
src/cpu/simple_thread.hh
src/cpu/thread_context.hh
src/cpu/thread_state.hh
src/gpu-compute/shader.cc
src/mem/page_table.cc
src/mem/page_table.hh
src/mem/se_translating_port_proxy.hh
src/sim/Process.py
src/sim/fd_array.cc
src/sim/fd_array.hh
src/sim/process.cc
src/sim/process.hh
src/sim/syscall_desc.hh
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh