From 753adb38d5471d23315d1bcfc6a744d1c6e03975 Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Fri, 22 Jun 2007 19:03:42 -0400 Subject: mips import pt. 1 src/arch/mips/SConscript: "mips import pt.1". --HG-- extra : convert_revision : 2e393341938bebf32fb638a209262d074fad4cc1 --- src/arch/mips/linux/process.hh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/arch/mips/linux/process.hh') diff --git a/src/arch/mips/linux/process.hh b/src/arch/mips/linux/process.hh index 398e1cfc2..d18c96188 100644 --- a/src/arch/mips/linux/process.hh +++ b/src/arch/mips/linux/process.hh @@ -30,7 +30,8 @@ #define __MIPS_LINUX_PROCESS_HH__ #include "arch/mips/process.hh" - +#include "arch/mips/linux/linux.hh" +#include "sim/eventq.hh" /// A process with emulated Mips/Linux syscalls. class MipsLinuxProcess : public MipsLiveProcess @@ -48,16 +49,19 @@ class MipsLinuxProcess : public MipsLiveProcess uint64_t _gid, uint64_t _egid, uint64_t _pid, uint64_t _ppid); + void startup(); + virtual SyscallDesc* getDesc(int callnum); /// The target system's hostname. static const char *hostname; - /// Array of syscall descriptors, indexed by call number. - static SyscallDesc syscallDescs[]; + /// ID of the thread group leader for the process + uint64_t __tgid; + /// Array of syscall descriptors, indexed by call number. + static SyscallDesc syscallDescs[]; const int Num_Syscall_Descs; }; - #endif // __MIPS_LINUX_PROCESS_HH__ -- cgit v1.2.3