gem5
v19.0.0.0
|
#include "arch/arm/linux/process.hh"
#include <sys/syscall.h>
#include "arch/arm/isa_traits.hh"
#include "arch/arm/linux/linux.hh"
#include "base/loader/object_file.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/linux/linux.hh"
#include "sim/process.hh"
#include "sim/syscall_desc.hh"
#include "sim/syscall_emul.hh"
#include "sim/system.hh"
Go to the source code of this file.
Functions | |
static SyscallReturn | unameFunc32 (SyscallDesc *desc, int callnum, ThreadContext *tc) |
Target uname() handler. More... | |
static SyscallReturn | unameFunc64 (SyscallDesc *desc, int callnum, ThreadContext *tc) |
Target uname() handler. More... | |
static SyscallReturn | setTLSFunc32 (SyscallDesc *desc, int callnum, ThreadContext *tc) |
Target set_tls() handler. More... | |
static SyscallReturn | setTLSFunc64 (SyscallDesc *desc, int callnum, ThreadContext *tc) |
Variables | |
static SyscallDescABI< DefaultSyscallABI > | syscallDescs32 [] |
static SyscallDescABI< DefaultSyscallABI > | syscallDescs64 [] |
static SyscallDescABI< DefaultSyscallABI > | privSyscallDescs32 [] |
static SyscallDescABI< DefaultSyscallABI > | privSyscallDescs64 [] |
|
static |
Target set_tls() handler.
Definition at line 144 of file process.cc.
References ArmLinuxProcess32::commPage, ThreadContext::getProcessPtr(), Process::getSyscallArg(), ThreadContext::getVirtProxy(), MipsISA::index, ArmISA::MISCREG_TPIDRURO, ThreadContext::setMiscReg(), and PortProxy::writeBlob().
|
static |
Definition at line 157 of file process.cc.
References ThreadContext::getProcessPtr(), Process::getSyscallArg(), MipsISA::index, ArmISA::MISCREG_TPIDRRO_EL0, and ThreadContext::setMiscReg().
|
static |
Target uname() handler.
Definition at line 108 of file process.cc.
References ThreadContext::getProcessPtr(), ThreadContext::getVirtProxy(), MipsISA::index, and name().
|
static |
Target uname() handler.
Definition at line 126 of file process.cc.
References ThreadContext::getProcessPtr(), ThreadContext::getVirtProxy(), MipsISA::index, and name().
|
static |
Definition at line 1635 of file process.cc.
Referenced by ArmLinuxProcess32::ArmLinuxProcess32().
|
static |
Definition at line 1644 of file process.cc.
Referenced by ArmLinuxProcess64::ArmLinuxProcess64().
|
static |
Definition at line 167 of file process.cc.
Referenced by ArmLinuxProcess32::ArmLinuxProcess32().
|
static |
Definition at line 544 of file process.cc.
Referenced by ArmLinuxProcess64::ArmLinuxProcess64().