process.hh (2683:d6b72bb2ed97) | process.hh (2715:4032e02b525e) |
---|---|
1/* 2 * Copyright (c) 2001-2005 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; --- 172 unchanged lines hidden (view full) --- 181 std::vector<std::string> &envp); 182 183 virtual void argsInit(int intSize, int pageSize); 184 185 public: 186 virtual void syscall(int64_t callnum, ThreadContext *tc); 187 188 virtual SyscallDesc* getDesc(int callnum) = 0; | 1/* 2 * Copyright (c) 2001-2005 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; --- 172 unchanged lines hidden (view full) --- 181 std::vector<std::string> &envp); 182 183 virtual void argsInit(int intSize, int pageSize); 184 185 public: 186 virtual void syscall(int64_t callnum, ThreadContext *tc); 187 188 virtual SyscallDesc* getDesc(int callnum) = 0; |
189 190 // this function is used to create the LiveProcess object, since 191 // we can't tell which subclass of LiveProcess to use until we 192 // open and look at the object file. 193 static LiveProcess *create(const std::string &nm, 194 System *_system, 195 int stdin_fd, int stdout_fd, int stderr_fd, 196 std::string executable, 197 std::vector<std::string> &argv, 198 std::vector<std::string> &envp); |
|
189}; 190 191 192#endif // !FULL_SYSTEM 193 194#endif // __PROCESS_HH__ | 199}; 200 201 202#endif // !FULL_SYSTEM 203 204#endif // __PROCESS_HH__ |