process.hh (2686:f0d591379ac3) | process.hh (2715:4032e02b525e) |
---|---|
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; --- 36 unchanged lines hidden (view full) --- 45{ 46 protected: 47 MipsLiveProcess(const std::string &nm, ObjectFile *objFile, 48 System *_system, int stdin_fd, int stdout_fd, int stderr_fd, 49 std::vector<std::string> &argv, 50 std::vector<std::string> &envp); 51 52 void startup(); | 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; --- 36 unchanged lines hidden (view full) --- 45{ 46 protected: 47 MipsLiveProcess(const std::string &nm, ObjectFile *objFile, 48 System *_system, int stdin_fd, int stdout_fd, int stderr_fd, 49 std::vector<std::string> &argv, 50 std::vector<std::string> &envp); 51 52 void startup(); |
53 54 public: 55 // this function is used to create the LiveProcess object, since 56 // we can't tell which subclass of LiveProcess to use until we 57 // open and look at the object file. 58 static MipsLiveProcess *create(const std::string &nm, 59 System *_system, 60 int stdin_fd, int stdout_fd, int stderr_fd, 61 std::string executable, 62 std::vector<std::string> &argv, 63 std::vector<std::string> &envp); 64 | |
65}; 66 67 68#endif // __MIPS_PROCESS_HH__ | 53}; 54 55 56#endif // __MIPS_PROCESS_HH__ |