42 #ifndef __ARCH_ARM_LINUX_LINUX_HH__
43 #define __ARCH_ARM_LINUX_LINUX_HH__
58 static const ByteOrder
byteOrder = ByteOrder::little;
64 uint64_t
stack, uint64_t tls)
288 uint64_t
stack, uint64_t tls)
391 static const unsigned TIOCGETP_ = 0x5401;
393 static const unsigned TIOCSETP_ = 0x80067409;
394 static const unsigned TIOCSETN_ = 0x8006740a;
395 static const unsigned TIOCSETC_ = 0x80067411;
396 static const unsigned TIOCGETC_ = 0x40067412;
397 static const unsigned FIONREAD_ = 0x4004667f;
398 static const unsigned TIOCISATTY_ = 0x2000745e;
399 static const unsigned TIOCGETS_ = 0x402c7413;
400 static const unsigned TIOCGETA_ = 0x5405;
401 static const unsigned TCSETAW_ = 0x5407;
542 uint64_t
stack, uint64_t tls)
static constexpr int TGT_O_SYNC
O_SYNC.
static constexpr int TGT_O_DSYNC
O_DSYNC.
uint32_t size_t
Basic ARM Linux types.
static constexpr unsigned TGT_MAP_POPULATE
static const int TGT_SIGBUS
static constexpr int TGT_O_LARGEFILE
O_LARGEFILE.
static const int TGT_SIGABRT
static constexpr unsigned TGT_MAP_DENYWRITE
static const int TBL_SYSINFO
For table().
static constexpr unsigned TGT_MAP_HUGETLB
static const int TGT_SIGTSTP
static constexpr int TGT_O_DIRECTORY
O_DIRECTORY.
static const int TGT_SIGXCPU
static constexpr int TGT_O_DIRECT
O_DIRECT.
static constexpr unsigned TGT_MAP_NONBLOCK
static const int TGT_SIGPOLL
static const int TGT_SIGQUIT
static constexpr unsigned TGT_MAP_PRIVATE
static constexpr int TGT_O_NOATIME
O_NOATIME.
static constexpr int TGT_O_NOCTTY
O_NOCTTY.
static const int TGT_SIGTRAP
static const int TGT_SIGILL
static const int TGT_SIGCONT
static const int TGT_SIGUNUSED
static const int TGT_SIGWINCH
static const int TGT_SIGPWR
static const int TGT_SIGPROF
static const int TGT_SIGTTOU
static const int TGT_SIGSTKFLT
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
static constexpr unsigned TGT_MAP_STACK
static const int TGT_SIGINT
static constexpr unsigned TGT_MAP_ANON
static const int TGT_SIGUSR2
static constexpr int TGT_O_TRUNC
O_TRUNC.
static constexpr int TGT_O_NONBLOCK
O_NONBLOCK.
static const int TGT_SIGIOT
static const int TGT_SIGTTIN
static const int TGT_SIGPIPE
static constexpr unsigned TGT_MAP_SHARED
static constexpr int TGT_O_RDWR
O_RDWR.
static constexpr unsigned TGT_MAP_NORESERVE
static const int TGT_SIGURG
static const int TGT_SIGHUP
static const int TGT_SIGKILL
static const int TGT_SIGSEGV
static constexpr unsigned TGT_MAP_ANONYMOUS
static constexpr unsigned TGT_MAP_LOCKED
static constexpr int TGT_O_RDONLY
open(2) flag values.
static constexpr int TGT_O_CREAT
O_CREAT.
static const int TGT_SIGXFSZ
static constexpr int TGT_O_CLOEXEC
O_NOATIME.
static constexpr unsigned TGT_MAP_GROWSDOWN
static const int TGT_SIGTERM
static constexpr int TGT_O_WRONLY
O_WRONLY.
static constexpr int TGT_O_NOFOLLOW
O_NOFOLLOW.
static constexpr unsigned TGT_MAP_EXECUTABLE
static const int TGT_SIGUSR1
static const int TGT_SIGALRM
static const int TGT_SIGCHLD
static constexpr int TGT_O_PATH
O_PATH.
static constexpr int TGT_FASYNC
FASYNC.
static const int TGT_SIGSTOP
static const int TGT_SIGIO
static const int TGT_SIGFPE
static constexpr unsigned TGT_MAP_FIXED
static constexpr unsigned TGT_MAP_FILE
static const int TGT_SIGVTALRM
static const int TGT_SIGSYS
static constexpr int TGT_O_EXCL
O_EXCL.
static constexpr int TGT_O_APPEND
O_APPEND.
rlimit_resources
Resource enumeration for getrlimit().
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
static const ByteOrder byteOrder
virtual void copyRegsFrom(ThreadContext *src)=0
This class encapsulates the types, structures, constants, functions, and syscall-number mappings spec...
static const unsigned TGT_RLIMIT_LOCKS
static const unsigned TGT_RLIMIT_FSIZE
static const unsigned TGT_RLIMIT_CORE
static const unsigned TGT_CLONE_SETTLS
static const int TGT_RUSAGE_SELF
For getrusage().
static const int TGT_RUSAGE_CHILDREN
static const unsigned TGT_RLIMIT_STACK
static const unsigned TGT_RLIMIT_MEMLOCK
static const unsigned TGT_RLIMIT_NOFILE
static const int TGT_RUSAGE_BOTH
static const unsigned TGT_RLIMIT_RSS
static const unsigned TGT_RLIMIT_AS
static const unsigned TGT_RLIMIT_NPROC
static const unsigned TGT_RLIMIT_DATA
static const unsigned TGT_RLIMIT_CPU
Resource constants for getrlimit().
ThreadContext is the external interface to all thread state for anything outside of the CPU.
virtual void setMiscReg(RegIndex misc_reg, RegVal val)=0
virtual BaseISA * getIsaPtr() const =0
virtual void setReg(const RegId ®, RegVal val)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Limit struct for getrlimit/setrlimit.
uint32_t rlim_max
hard limit
uint32_t rlim_cur
soft limit
int32_t ru_oublock
block output operations
int32_t ru_nivcsw
involuntary "
int32_t ru_isrss
integral unshared stack "
int32_t ru_idrss
integral unshared data "
int32_t ru_msgrcv
messages received
int32_t ru_minflt
page reclaims - total vmfaults
int32_t ru_ixrss
integral shared memory size
int32_t ru_nsignals
signals received
int32_t ru_nvcsw
voluntary context switches
int32_t ru_majflt
page faults
int32_t ru_msgsnd
messages sent
int32_t ru_inblock
block input operations
GEM5_ALIGNED(8) int64_t st_size
int32_t tv_nsec
nanoseconds
int32_t tv_usec
microseconds
int32_t tms_stime
system time
int32_t tms_cutime
user time of children
int32_t tms_utime
user time
int32_t tms_cstime
system time of children
Limit struct for getrlimit/setrlimit.
uint64_t rlim_cur
soft limit
uint64_t rlim_max
hard limit
int64_t ru_idrss
integral unshared data "
int64_t ru_msgrcv
messages received
int64_t ru_msgsnd
messages sent
int64_t ru_majflt
page faults
int64_t ru_minflt
page reclaims - total vmfaults
int64_t ru_nivcsw
involuntary "
int64_t ru_inblock
block input operations
int64_t ru_ixrss
integral shared memory size
int64_t ru_nvcsw
voluntary context switches
int64_t ru_nsignals
signals received
int64_t ru_isrss
integral unshared stack "
int64_t ru_oublock
block output operations
int64_t tv_nsec
nanoseconds
int64_t tv_usec
microseconds
int64_t tms_cstime
system time of children
int64_t tms_cutime
user time of children
int64_t tms_stime
system time
int64_t tms_utime
user time