|
gem5 [DEVELOP-FOR-25.0]
|
This class encapsulates the types, structures, constants, functions, and syscall-number mappings specific to an operating system syscall interface. More...
#include <operatingsystem.hh>
Classes | |
| struct | rlimit |
| Limit struct for getrlimit/setrlimit. More... | |
| struct | rusage |
| For getrusage(). More... | |
| struct | tgt_iovec |
| struct | timeval |
| For gettimeofday(). More... | |
| struct | utsname |
| Interface struct for uname(). More... | |
Public Types | |
| typedef void | tgt_stat |
| Stat buffer. | |
| typedef void | tgt_stat64 |
Static Public Member Functions | |
| static int | openSpecialFile (std::string path, Process *process, ThreadContext *tc) |
Static Public Attributes | |
| static const int | _SYS_NMLN = 65 |
| Length of strings in struct utsname (plus 1 for null char). | |
This class encapsulates the types, structures, constants, functions, and syscall-number mappings specific to an operating system syscall interface.
Definition at line 47 of file operatingsystem.hh.
| typedef void gem5::OperatingSystem::tgt_stat |
Stat buffer.
Note that we can't call it 'stat' since that gets #defined to something else on some systems. This type can be specialized by architecture specific "Linux" classes
Definition at line 55 of file operatingsystem.hh.
| typedef void gem5::OperatingSystem::tgt_stat64 |
Definition at line 58 of file operatingsystem.hh.
|
static |
Definition at line 38 of file operatingsystem.cc.
References warn.
|
static |
Length of strings in struct utsname (plus 1 for null char).
Definition at line 61 of file operatingsystem.hh.