process.hh (2686:f0d591379ac3) process.hh (3114:7a4771b9b720)
1/*
2 * Copyright (c) 2003-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;

--- 28 unchanged lines hidden (view full) ---

37{
38 public:
39 /// Constructor.
40 MipsLinuxProcess(const std::string &name,
41 ObjectFile *objFile,
42 System *system,
43 int stdin_fd, int stdout_fd, int stderr_fd,
44 std::vector<std::string> &argv,
1/*
2 * Copyright (c) 2003-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;

--- 28 unchanged lines hidden (view full) ---

37{
38 public:
39 /// Constructor.
40 MipsLinuxProcess(const std::string &name,
41 ObjectFile *objFile,
42 System *system,
43 int stdin_fd, int stdout_fd, int stderr_fd,
44 std::vector<std::string> &argv,
45 std::vector<std::string> &envp);
45 std::vector<std::string> &envp,
46 uint64_t _uid, uint64_t _euid,
47 uint64_t _gid, uint64_t _egid,
48 uint64_t _pid, uint64_t _ppid);
46
47 virtual SyscallDesc* getDesc(int callnum);
48
49 /// The target system's hostname.
50 static const char *hostname;
51
52 /// Array of syscall descriptors, indexed by call number.
53 static SyscallDesc syscallDescs[];
54
55 const int Num_Syscall_Descs;
56};
57
58
59#endif // __MIPS_LINUX_PROCESS_HH__
49
50 virtual SyscallDesc* getDesc(int callnum);
51
52 /// The target system's hostname.
53 static const char *hostname;
54
55 /// Array of syscall descriptors, indexed by call number.
56 static SyscallDesc syscallDescs[];
57
58 const int Num_Syscall_Descs;
59};
60
61
62#endif // __MIPS_LINUX_PROCESS_HH__