Go to the documentation of this file.
38 #ifndef __ARCH_X86_LINUX_LINUX_HH__
39 #define __ARCH_X86_LINUX_LINUX_HH__
49 static const ByteOrder
byteOrder = ByteOrder::little;
55 uint64_t
stack, uint64_t tls)
74 template <
typename ABI>
76 typename
std::enable_if<std::is_base_of<
77 X86Linux::SyscallABI, ABI>::value>
::type>
static void store(ThreadContext *tc, const SyscallReturn &ret)
static const int TGT_SIGHUP
static const int TGT_O_DIRECTORY
static const int NUM_OPEN_FLAGS
static const int TGT_O_NOATIME
static const int TGT_O_NOFOLLOW
static const int TGT_SIGSTOP
static const int TGT_O_DIRECTORY
static const int TGT_SIGPWR
static const int TGT_O_CLOEXEC
static const int TGT_SIGCONT
static const int TGT_SIGPOLL
static const int TGT_O_TRUNC
O_TRUNC.
static const int TGT_O_WRONLY
O_WRONLY.
static const int TGT_SIGTSTP
static const unsigned TGT_MAP_POPULATE
static const unsigned TGT_MAP_STACK
static const int TGT_SIGSTOP
static const int TGT_SIGINT
static const unsigned TGT_MAP_GROWSDOWN
static const int TGT_SIGABRT
static const unsigned TGT_MAP_32BIT
static const int TGT_SIGIO
static const int TGT_SIGIOT
static const unsigned TGT_MAP_ANONYMOUS
virtual void setIntReg(RegIndex reg_idx, RegVal val)=0
static const int TGT_O_NOATIME
static const int TGT_SIGILL
static const int TGT_SIGSEGV
static const int TGT_O_DSYNC
static const int TGT_SIGUNUSED
static const int TGT_O_APPEND
O_APPEND.
static const int TGT_SIGWINCH
static const unsigned TGT_MAP_SHARED
static const int TGT_SIGIOT
static const unsigned TGT_MAP_DENYWRITE
static const unsigned TGT_MAP_FILE
void copyRegs(ThreadContext *src, ThreadContext *dest)
static const int TGT_O_WRONLY
O_WRONLY.
static const int TGT_SIGPOLL
static const unsigned TGT_MAP_HUGETLB
static const int TGT_SIGSYS
static const int TGT_O_DIRECT
O_DIRECTIO.
static const int TGT_SIGCHLD
static const unsigned TGT_MAP_HUGETLB
static const int TGT_SIGKILL
static const int TGT_O_NONBLOCK
O_NONBLOCK.
static const int TGT_SIGSTKFLT
uint32_t size_t
Basic X86 Linux types.
static const int TGT_O_PATH
static const unsigned TGT_CLONE_SETTLS
static const unsigned TGT_MAP_STACK
static const int TGT_O_CREAT
O_CREAT.
static const int TGT_O_DIRECT
O_DIRECTIO.
bool suppressed() const
Should returning this value be suppressed?
static const int TGT_SIGTTOU
static const int TGT_O_RDONLY
O_RDONLY.
static const int TGT_SIGHUP
static const int TGT_O_PATH
static const int TGT_SIGIO
static const unsigned TGT_MAP_GROWSDOWN
static const unsigned NUM_MMAP_FLAGS
ThreadContext is the external interface to all thread state for anything outside of the CPU.
static const unsigned TGT_MAP_ANON
static const int TGT_SIGILL
static const unsigned TGT_MAP_NONBLOCK
bool needsRetry() const
Does the syscall need to be retried?
static const int TGT_SIGTRAP
static const int TGT_O_NONBLOCK
O_NONBLOCK.
static const int TGT_O_NOCTTY
O_NOCTTY.
uint64_t size_t
Basic X86_64 Linux types.
static const int TGT_O_EXCL
O_EXCL.
static const int TGT_FASYNC
static const ByteOrder byteOrder
static const unsigned NUM_MMAP_FLAGS
static const int TGT_O_SYNC
O_SYNC.
static const unsigned TGT_MAP_EXECUTABLE
static const unsigned TGT_MAP_LOCKED
static const int TGT_SIGUNUSED
static const unsigned TGT_MAP_ANON
static const unsigned TGT_MAP_NORESERVE
static const int TGT_SIGURG
static const int TGT_SIGALRM
static const int NUM_OPEN_FLAGS
static const unsigned TGT_MAP_PRIVATE
static const unsigned TGT_MAP_SHARED
This struct is used to build target-OS-dependent tables that map the target's flags to the host's fla...
static const int TGT_SIGPIPE
static const int TGT_SIGQUIT
static const int TGT_SIGCHLD
static const int TGT_SIGQUIT
static const unsigned TGT_MAP_32BIT
static const unsigned TGT_MAP_FILE
static const unsigned TGT_MAP_ANONYMOUS
static const int TGT_SIGUSR1
static const int TGT_FASYNC
static const int TGT_O_SYNC
O_SYNC.
This class represents the return value from an emulated system call, including any errno setting.
static const int TGT_O_APPEND
O_APPEND.
static const int TGT_SIGALRM
static const int TGT_SIGURG
static const int TGT_SIGFPE
static const int TGT_O_TRUNC
O_TRUNC.
static const int TGT_SIGSEGV
static const unsigned TGT_MAP_EXECUTABLE
static SyscallFlagTransTable mmapFlagTable[]
static const int TGT_SIGPROF
static const int TGT_SIGBUS
static const int TGT_O_LARGEFILE
static const int TGT_SIGVTALRM
static const int TGT_O_NOCTTY
O_NOCTTY.
static const int TGT_O_CLOEXEC
static const int TGT_SIGXCPU
static const int TGT_SIGTERM
static const unsigned TGT_MAP_PRIVATE
static const int TGT_SIGPWR
static const int TGT_SIGKILL
static SyscallFlagTransTable openFlagTable[]
Overload hash function for BasicBlockRange type.
static const int TGT_SIGTSTP
static const int TGT_O_RDONLY
O_RDONLY.
static const int TGT_SIGBUS
static const int TGT_SIGINT
static const unsigned TGT_MAP_DENYWRITE
int64_t encodedValue() const
The encoded value (as described above)
static const int TGT_O_RDWR
O_RDWR.
static const unsigned TGT_MAP_NORESERVE
static const int TGT_SIGSYS
static const int TGT_O_NOFOLLOW
static const unsigned TGT_MAP_FIXED
static const int TGT_SIGTRAP
static const int TGT_SIGUSR2
static const int TGT_SIGTTIN
static const int TGT_O_RDWR
O_RDWR.
static const unsigned TGT_MAP_POPULATE
static const int TGT_SIGXFSZ
static const int TGT_O_EXCL
O_EXCL.
static const int TGT_SIGWINCH
static const unsigned TGT_MAP_FIXED
static const int TGT_SIGSTKFLT
static const int TGT_SIGCONT
virtual void setMiscRegNoEffect(RegIndex misc_reg, RegVal val)=0
static const int TGT_SIGFPE
static SyscallFlagTransTable openFlagTable[]
static const int TGT_SIGPIPE
static const int TGT_SIGUSR1
static const int TGT_SIGUSR2
static const int TGT_SIGTTOU
static const int TGT_O_LARGEFILE
static const int TGT_SIGXCPU
const char * __attribute__((weak)) m5MainCommands[]
static const int TGT_SIGABRT
static const int TGT_O_DSYNC
O_DSYNC.
static void archClone(uint64_t flags, Process *pp, Process *cp, ThreadContext *ptc, ThreadContext *ctc, uint64_t stack, uint64_t tls)
static const unsigned TGT_MAP_LOCKED
static const int TGT_SIGTERM
static const int TGT_O_CREAT
O_CREAT.
static const int TGT_SIGVTALRM
const int StackPointerReg
static const int TGT_SIGXFSZ
static const int TGT_SIGPROF
static const int TGT_SIGTTIN
static const unsigned TGT_MAP_NONBLOCK
Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17