Go to the documentation of this file.
42 #ifndef __ARCH_ARM_LINUX_LINUX_HH__
43 #define __ARCH_ARM_LINUX_LINUX_HH__
51 static const ByteOrder
byteOrder = ByteOrder::little;
57 uint64_t
stack, uint64_t tls)
226 uint32_t st_atime_nsec;
228 uint32_t st_mtime_nsec;
230 uint32_t st_ctime_nsec;
281 uint64_t
stack, uint64_t tls)
396 static const unsigned TIOCGETP_ = 0x5401;
398 static const unsigned TIOCSETP_ = 0x80067409;
399 static const unsigned TIOCSETN_ = 0x8006740a;
400 static const unsigned TIOCSETC_ = 0x80067411;
401 static const unsigned TIOCGETC_ = 0x40067412;
402 static const unsigned FIONREAD_ = 0x4004667f;
403 static const unsigned TIOCISATTY_ = 0x2000745e;
404 static const unsigned TIOCGETS_ = 0x402c7413;
405 static const unsigned TIOCGETA_ = 0x5405;
406 static const unsigned TCSETAW_ = 0x5407;
537 uint64_t
stack, uint64_t tls)
rlimit_resources
Resource enumeration for getrlimit().
static const unsigned TGT_MAP_FIXED
static const int TGT_SIGURG
int32_t ru_majflt
page faults
void copyRegs(ThreadContext *src, ThreadContext *dest)
static const int TGT_O_EXCL
O_EXCL.
static const unsigned TGT_RLIMIT_RSS
static const int TGT_SIGTSTP
static const ByteOrder byteOrder
static const int TGT_O_DSYNC
O_DSYNC.
int64_t tv_nsec
nanoseconds
static const int TGT_O_CLOEXEC
O_NOATIME.
int32_t tv_nsec
nanoseconds
static const int TGT_SIGIO
int32_t ru_nsignals
signals received
static const int TGT_SIGPWR
static const int TGT_SIGSYS
int32_t ru_nivcsw
involuntary "
static SyscallFlagTransTable openFlagTable[]
This table maps the target open() flags to the corresponding host open() flags.
static const unsigned TGT_RLIMIT_MEMLOCK
int64_t ru_oublock
block output operations
static const int TGT_SIGIOT
static const int TGT_O_RDWR
O_RDWR.
int32_t ru_idrss
integral unshared data "
int64_t ru_majflt
page faults
static const int TGT_RUSAGE_CHILDREN
static const unsigned TGT_RLIMIT_AS
int32_t ru_msgsnd
messages sent
uint64_t rlim_max
hard limit
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
static const int TGT_SIGSTOP
static const int TGT_SIGTRAP
static const unsigned TGT_MAP_LOCKED
static const int TGT_SIGQUIT
static const unsigned TGT_MAP_STACK
int64_t tms_cstime
system time of children
int64_t ru_idrss
integral unshared data "
static const int TGT_SIGFPE
uint64_t rlim_cur
soft limit
static const int TGT_SIGILL
int32_t ru_oublock
block output operations
virtual void setIntReg(RegIndex reg_idx, RegVal val)=0
static const unsigned TGT_RLIMIT_NOFILE
int64_t tms_cutime
user time of children
static const int TGT_O_NOATIME
O_NOATIME.
static const int TGT_O_NOCTTY
O_NOCTTY.
static const int TGT_SIGINT
static const int TGT_SIGTTIN
int64_t ru_nivcsw
involuntary "
static const int TGT_SIGKILL
static const int TGT_SIGCHLD
static const int TGT_SIGUNUSED
static const int TGT_O_DIRECT
O_DIRECT.
static const int TGT_O_DIRECTORY
O_DIRECTORY.
static const unsigned TGT_RLIMIT_DATA
static const int TGT_O_TRUNC
O_TRUNC.
static const int TGT_O_NONBLOCK
O_NONBLOCK.
Limit struct for getrlimit/setrlimit.
static const int TBL_SYSINFO
For table().
static const int TGT_SIGPIPE
static const int TGT_SIGHUP
static const unsigned TGT_MAP_PRIVATE
static const unsigned TGT_CLONE_SETTLS
static const unsigned TGT_MAP_SHARED
static const int TGT_SIGUSR1
static const unsigned TGT_RLIMIT_CORE
static const int TGT_SIGCONT
static const int TGT_SIGTERM
int64_t ru_inblock
block input operations
static const unsigned TGT_RLIMIT_STACK
ThreadContext is the external interface to all thread state for anything outside of the CPU.
static const unsigned TGT_MAP_NORESERVE
struct timeval ru_utime
user time used
static const int TGT_SIGSEGV
static const int TGT_SIGVTALRM
static const int TGT_FASYNC
FASYNC.
static const int TGT_SIGXFSZ
static const int TGT_SIGUSR2
static const int NUM_OPEN_FLAGS
Number of entries in openFlagTable[].
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
int64_t ru_ixrss
integral shared memory size
uint32_t rlim_max
hard limit
static const unsigned TGT_MAP_NONBLOCK
int32_t tms_cutime
user time of children
static const int TGT_O_LARGEFILE
O_LARGEFILE.
int64_t ru_nsignals
signals received
static const unsigned TGT_MAP_ANONYMOUS
static const int TGT_SIGSTKFLT
int64_t ru_msgsnd
messages sent
static const unsigned TGT_MAP_HUGETLB
static const unsigned NUM_MMAP_FLAGS
static const int TGT_O_CREAT
O_CREAT.
This struct is used to build target-OS-dependent tables that map the target's flags to the host's fla...
int64_t ru_nvcsw
voluntary context switches
static const unsigned TGT_MAP_EXECUTABLE
int32_t ru_ixrss
integral shared memory size
int32_t ru_msgrcv
messages received
static const int TGT_O_RDONLY
open(2) flag values.
uint32_t size_t
Basic ARM Linux types.
int32_t tv_usec
microseconds
static const int TGT_SIGWINCH
int32_t ru_isrss
integral unshared stack "
static const unsigned TGT_RLIMIT_LOCKS
static const int TGT_O_WRONLY
O_WRONLY.
static const int TGT_RUSAGE_SELF
For getrusage().
static const int NUM_OPEN_FLAGS
Number of entries in openFlagTable[].
static const unsigned TGT_RLIMIT_NPROC
int64_t tms_stime
system time
static const int TGT_SIGTTOU
static const int TGT_O_APPEND
O_APPEND.
int32_t ru_nvcsw
voluntary context switches
static const unsigned TGT_RLIMIT_CPU
Resource constants for getrlimit().
static const unsigned TGT_MAP_GROWSDOWN
int32_t ru_minflt
page reclaims - total vmfaults
static const int TGT_O_NOFOLLOW
O_NOFOLLOW.
int32_t tms_cstime
system time of children
static const int TGT_O_PATH
O_PATH.
int32_t ru_inblock
block input operations
int32_t tms_stime
system time
int64_t tv_usec
microseconds
static const int TGT_SIGBUS
virtual void setMiscReg(RegIndex misc_reg, RegVal val)=0
int64_t ru_msgrcv
messages received
int64_t tms_utime
user time
int32_t tms_utime
user time
void tgt_stat
Stat buffer.
static const unsigned NUM_MMAP_FLAGS
static const int TGT_O_SYNC
O_SYNC.
uint32_t rlim_cur
soft limit
int64_t ru_minflt
page reclaims - total vmfaults
static const unsigned TGT_MAP_FILE
static const int TGT_SIGXCPU
Limit struct for getrlimit/setrlimit.
static const unsigned TGT_MAP_POPULATE
static const int TGT_SIGALRM
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
static const unsigned TGT_RLIMIT_FSIZE
const char * __attribute__((weak)) m5MainCommands[]
struct timeval ru_stime
system time used
static const int TGT_RUSAGE_BOTH
static const unsigned TGT_MAP_DENYWRITE
int64_t ru_isrss
integral unshared stack "
static const int TGT_SIGABRT
static const unsigned TGT_MAP_ANON
static const int TGT_SIGPROF
static const int TGT_SIGPOLL
Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17