Commit m5threads package.
authorDaniel Sanchez <sanchezd@stanford.edu>
Tue, 21 Apr 2009 15:17:36 +0000 (08:17 -0700)
committerDaniel Sanchez <sanchezd@stanford.edu>
Tue, 21 Apr 2009 15:17:36 +0000 (08:17 -0700)
commitb0e9654f8621729400ba627ed8c9bd0bf3833f7a
tree9d2131b1d6cfd177878b06595735627da7797527
parentb0489d18ed74b542e311a2a7238cd5e19bd4b2ab
Commit m5threads package.

This patch adds limited multithreading support in syscall-emulation
mode, by using the clone system call.  The clone system call works
for Alpha, SPARC and x86, and multithreaded applications run
correctly in Alpha and SPARC.
src/arch/alpha/linux/process.cc
src/arch/sparc/linux/syscalls.cc
src/arch/sparc/regfile.cc
src/arch/x86/linux/syscalls.cc
src/arch/x86/regfile.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh