gem5
v20.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.
Classes | |
class | SyscallTable32 |
class | SyscallTable64 |
Functions | |
static SyscallReturn | unameFunc32 (SyscallDesc *desc, ThreadContext *tc, Addr utsname) |
Target uname() handler. More... | |
static SyscallReturn | unameFunc64 (SyscallDesc *desc, ThreadContext *tc, Addr utsname) |
Target uname() handler. More... | |
static SyscallReturn | setTLSFunc32 (SyscallDesc *desc, ThreadContext *tc, uint32_t tlsPtr) |
Target set_tls() handler. More... | |
static SyscallReturn | setTLSFunc64 (SyscallDesc *desc, ThreadContext *tc, uint32_t tlsPtr) |
Variables | |
static SyscallTable32 | syscallDescs32Low (0) |
static SyscallTable32 | syscallDescs32High (0x900000) |
static SyscallTable64 | syscallDescs64Low (0) |
static SyscallTable64 | syscallDescs64High (0x900000) |
static SyscallDescTable< ArmLinuxProcess32::SyscallABI > | privSyscallDescs32 |
static SyscallDescTable< ArmLinuxProcess64::SyscallABI > | privSyscallDescs64 |
|
static |
Target set_tls() handler.
Definition at line 137 of file process.cc.
References ArmLinuxProcess32::commPage, ThreadContext::getVirtProxy(), ArmISA::MISCREG_TPIDRURO, ThreadContext::setMiscReg(), and PortProxy::writeBlob().
|
static |
Definition at line 146 of file process.cc.
References ArmISA::MISCREG_TPIDRRO_EL0, and ThreadContext::setMiscReg().
|
static |
Target uname() handler.
Definition at line 103 of file process.cc.
References BaseBufferArg::copyOut(), ThreadContext::getProcessPtr(), ThreadContext::getVirtProxy(), Linux::utsname::machine, name(), Linux::utsname::nodename, Linux::utsname::release, Linux::utsname::sysname, and Linux::utsname::version.
Referenced by SyscallTable32::SyscallTable32().
|
static |
Target uname() handler.
Definition at line 120 of file process.cc.
References BaseBufferArg::copyOut(), ThreadContext::getProcessPtr(), ThreadContext::getVirtProxy(), Linux::utsname::machine, name(), Linux::utsname::nodename, Linux::utsname::release, Linux::utsname::sysname, and Linux::utsname::version.
Referenced by SyscallTable64::SyscallTable64().
|
static |
Definition at line 838 of file process.cc.
|
static |
Definition at line 847 of file process.cc.
SyscallTable32 syscallDescs32High(0x900000) |
Referenced by SyscallTable32::SyscallTable32().
|
static |
Referenced by ArmLinuxProcess32::syscall(), and SyscallTable32::SyscallTable32().
SyscallTable64 syscallDescs64High(0x900000) |
Referenced by SyscallTable64::SyscallTable64().
|
static |
Referenced by ArmLinuxProcess64::syscall(), and SyscallTable64::SyscallTable64().