diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2009-01-17 18:56:46 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2009-01-17 18:56:46 -0500 |
commit | b4227bd7f697a1f29d25639864f5683d9ddcd41f (patch) | |
tree | 1bc2bc16736eea0244a858f70dd30f236b4d3fa6 /src/kern/operatingsystem.hh | |
parent | 140b4b891ec60496d8aa805fd694d45647ba083c (diff) | |
download | gem5-b4227bd7f697a1f29d25639864f5683d9ddcd41f.tar.xz |
Fix issue 326: glibc non-deterministic because it reads /proc
Diffstat (limited to 'src/kern/operatingsystem.hh')
-rw-r--r-- | src/kern/operatingsystem.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kern/operatingsystem.hh b/src/kern/operatingsystem.hh index 10daae3d7..712b97c35 100644 --- a/src/kern/operatingsystem.hh +++ b/src/kern/operatingsystem.hh @@ -40,6 +40,10 @@ class OperatingSystem {}; #else //!FULL_SYSTEM +#include <string> + +class LiveProcess; +class ThreadContext; /// This struct is used to build an target-OS-dependent table that /// maps the target's open() flags to the host open() flags. @@ -117,6 +121,8 @@ class OperatingSystem { int64_t ru_nivcsw; //!< involuntary " } rusage; + static int openSpecialFile(std::string path, LiveProcess *process, ThreadContext *tc); + }; // class OperatingSystem |