diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
commit | 3886c4a8f2e1bfe17cbf7a5a76ba0fc978c6bb48 (patch) | |
tree | 5a1ce6cbf42009fc9199c7ecfb068890ca74dbd4 /src/kern/operatingsystem.hh | |
parent | 7b6cf951e2f0fa70d6599f1e1d03f664b674a75e (diff) | |
download | gem5-3886c4a8f2e1bfe17cbf7a5a76ba0fc978c6bb48.tar.xz |
syscall_emul: [patch 5/22] remove LiveProcess class and use Process instead
The EIOProcess class was removed recently and it was the only other class
which derived from Process. Since every Process invocation is also a
LiveProcess invocation, it makes sense to simplify the organization by
combining the fields from LiveProcess into Process.
Diffstat (limited to 'src/kern/operatingsystem.hh')
-rw-r--r-- | src/kern/operatingsystem.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kern/operatingsystem.hh b/src/kern/operatingsystem.hh index 12aff946c..e097f6451 100644 --- a/src/kern/operatingsystem.hh +++ b/src/kern/operatingsystem.hh @@ -35,7 +35,7 @@ #include <string> -class LiveProcess; +class Process; class ThreadContext; /// This struct is used to build target-OS-dependent tables that @@ -114,7 +114,8 @@ class OperatingSystem { int64_t ru_nivcsw; //!< involuntary " } rusage; - static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc); + static int openSpecialFile(std::string path, Process *process, + ThreadContext *tc); }; // class OperatingSystem |