process.hh (5254:c555f8b07345) | process.hh (6650:f23a18fec0ef) |
---|---|
1/* 2 * Copyright (c) 2004 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 29 unchanged lines hidden (view full) --- 38 39/// A process with emulated Mips/Linux syscalls. 40class MipsLinuxProcess : public MipsLiveProcess 41{ 42 public: 43 /// Constructor. 44 MipsLinuxProcess(LiveProcessParams * params, ObjectFile *objFile); 45 | 1/* 2 * Copyright (c) 2004 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 29 unchanged lines hidden (view full) --- 38 39/// A process with emulated Mips/Linux syscalls. 40class MipsLinuxProcess : public MipsLiveProcess 41{ 42 public: 43 /// Constructor. 44 MipsLinuxProcess(LiveProcessParams * params, ObjectFile *objFile); 45 |
46 void startup(); 47 | |
48 virtual SyscallDesc* getDesc(int callnum); 49 50 /// The target system's hostname. 51 static const char *hostname; 52 53 /// ID of the thread group leader for the process 54 uint64_t __tgid; 55 56 /// Array of syscall descriptors, indexed by call number. 57 static SyscallDesc syscallDescs[]; 58 const int Num_Syscall_Descs; 59}; 60 61#endif // __MIPS_LINUX_PROCESS_HH__ | 46 virtual SyscallDesc* getDesc(int callnum); 47 48 /// The target system's hostname. 49 static const char *hostname; 50 51 /// ID of the thread group leader for the process 52 uint64_t __tgid; 53 54 /// Array of syscall descriptors, indexed by call number. 55 static SyscallDesc syscallDescs[]; 56 const int Num_Syscall_Descs; 57}; 58 59#endif // __MIPS_LINUX_PROCESS_HH__ |