gem5
|
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. More... | |
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). More... | |
This class encapsulates the types, structures, constants, functions, and syscall-number mappings specific to an operating system syscall interface.
Definition at line 54 of file operatingsystem.hh.
typedef void 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 61 of file operatingsystem.hh.
typedef void OperatingSystem::tgt_stat64 |
Definition at line 64 of file operatingsystem.hh.
|
static |
Definition at line 37 of file operatingsystem.cc.
References warn.
|
static |
Length of strings in struct utsname (plus 1 for null char).
Definition at line 67 of file operatingsystem.hh.