process.hh (2665:a124942bacb8) 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;

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

60 SparcLiveProcess(const std::string &nm, ObjectFile *objFile,
61 System *_system, int stdin_fd, int stdout_fd, int stderr_fd,
62 std::vector<std::string> &argv,
63 std::vector<std::string> &envp);
64
65 void startup();
66
67 public:
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;

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

60 SparcLiveProcess(const std::string &nm, ObjectFile *objFile,
61 System *_system, int stdin_fd, int stdout_fd, int stderr_fd,
62 std::vector<std::string> &argv,
63 std::vector<std::string> &envp);
64
65 void startup();
66
67 public:
68 // this function is used to create the LiveProcess object, since
69 // we can't tell which subclass of LiveProcess to use until we
70 // open and look at the object file.
71 static SparcLiveProcess *create(const std::string &nm,
72 System *_system,
73 int stdin_fd, int stdout_fd, int stderr_fd,
74 std::string executable,
75 std::vector<std::string> &argv,
76 std::vector<std::string> &envp);
77
78 void argsInit(int intSize, int pageSize);
79
80};
81
82#endif // __SPARC_PROCESS_HH__
68
69 void argsInit(int intSize, int pageSize);
70
71};
72
73#endif // __SPARC_PROCESS_HH__