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)
304 uint64_t
stack, uint64_t tls)
574 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.
static constexpr int TGT_O_DIRECT
O_DIRECT.
static const int TGT_SIGTSTP
static constexpr unsigned TGT_MAP_POPULATE
static constexpr unsigned TGT_MAP_DENYWRITE
static constexpr int TGT_O_NOATIME
O_NOATIME.
static const int TGT_SIGSTKFLT
static const int TGT_SIGBUS
static const int TGT_SIGTERM
static const int TGT_SIGWINCH
static const int TGT_SIGCHLD
static constexpr unsigned TGT_MAP_PRIVATE
static const unsigned TCSETAW_
static const int TGT_SIGSTOP
static const int TGT_SIGSYS
static constexpr int TGT_O_RDONLY
open(2) flag values.
static const int TGT_SIGCONT
static const int TGT_SIGXCPU
static const int TGT_SIGXFSZ
static constexpr unsigned TGT_MAP_FIXED
static constexpr int TGT_O_APPEND
O_APPEND.
static const int TGT_SIGPWR
static const int TGT_SIGTTIN
static const int TGT_SIGTTOU
static constexpr unsigned TGT_MAP_HUGETLB
static constexpr int TGT_O_CREAT
O_CREAT.
static const int TGT_SIGKILL
static const int TGT_SIGPOLL
static constexpr int TGT_O_CLOEXEC
O_NOATIME.
static constexpr int TGT_O_EXCL
O_EXCL.
static constexpr unsigned TGT_MAP_ANONYMOUS
static const unsigned FIONREAD_
static constexpr int TGT_O_NOFOLLOW
O_NOFOLLOW.
static const int TGT_RUSAGE_BOTH
static constexpr unsigned TGT_MAP_SHARED
static const unsigned TIOCGETC_
static const int TGT_SIGUSR2
static constexpr int TGT_O_LARGEFILE
O_LARGEFILE.
static constexpr int TGT_FASYNC
FASYNC.
static const int TGT_RUSAGE_SELF
For getrusage().
static constexpr unsigned TGT_MAP_EXECUTABLE
static const int TGT_SIGURG
static const unsigned TIOCGETP_
ioctl() command codes.
static constexpr unsigned TGT_MAP_NORESERVE
static const int TGT_SIGIOT
static constexpr int TGT_O_NONBLOCK
O_NONBLOCK.
static const int TGT_SIGPROF
static const int TGT_SIGPIPE
static const unsigned TIOCSETC_
static const int TGT_SIGVTALRM
static const int TGT_SIGQUIT
static const int TGT_RUSAGE_CHILDREN
static const unsigned TIOCISATTY_
static const unsigned TIOCSETN_
static const int TGT_SIGFPE
static const int TGT_SIGALRM
static constexpr int TGT_O_WRONLY
O_WRONLY.
uint64_t size_t
Basic ARM Linux types.
static const int TGT_SIGSEGV
static constexpr unsigned TGT_MAP_LOCKED
rlimit_resources
Resource enumeration for getrlimit().
static const int TGT_SIGUNUSED
static const int TGT_SIGILL
static const unsigned TIOCGETA_
static constexpr int TGT_O_PATH
O_PATH.
static const int TGT_SIGUSR1
static constexpr int TGT_O_NOCTTY
O_NOCTTY.
static constexpr int TGT_O_DSYNC
O_DSYNC.
static constexpr unsigned TGT_MAP_FILE
static const int TGT_SIGIO
static constexpr unsigned TGT_MAP_ANON
static const unsigned TIOCGETS_
static const unsigned TIOCSETP_
static constexpr int TGT_O_TRUNC
O_TRUNC.
static constexpr int TGT_O_SYNC
O_SYNC.
static const int TGT_SIGINT
static const int TBL_SYSINFO
For table().
static const int TGT_SIGHUP
static constexpr int TGT_O_RDWR
O_RDWR.
static constexpr unsigned TGT_MAP_GROWSDOWN
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
static const int TGT_SIGTRAP
static constexpr unsigned TGT_MAP_STACK
static constexpr unsigned TGT_MAP_NONBLOCK
static constexpr int TGT_O_DIRECTORY
O_DIRECTORY.
static const int TGT_SIGABRT
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_CLONE_SETTLS
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)
Copyright (c) 2024 Arm Limited All rights reserved.
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 "
struct timeval ru_utime
user time used
int32_t ru_isrss
integral unshared stack "
struct timeval ru_stime
system time used
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
struct timeval ru_utime
user time used
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
struct timeval ru_stime
system time used
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