gem5
v20.1.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, VPtr< Linux::utsname > name) |
Target uname() handler. More... | |
static SyscallReturn | unameFunc64 (SyscallDesc *desc, ThreadContext *tc, VPtr< Linux::utsname > name) |
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 133 of file process.cc.
References ArmLinuxProcess32::commPage, ThreadContext::getVirtProxy(), ArmISA::MISCREG_TPIDRURO, ThreadContext::setMiscReg(), and PortProxy::writeBlob().
|
static |
Definition at line 142 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 ThreadContext::getProcessPtr(), and name().
Referenced by SyscallTable32::SyscallTable32().
|
static |
Target uname() handler.
Definition at line 118 of file process.cc.
References ThreadContext::getProcessPtr(), and name().
Referenced by SyscallTable64::SyscallTable64().
|
static |
Definition at line 834 of file process.cc.
Referenced by ArmLinuxProcess32::syscall().
|
static |
Definition at line 843 of file process.cc.
Referenced by ArmLinuxProcess64::syscall().
SyscallTable32 syscallDescs32High(0x900000) |
|
static |
Referenced by ArmLinuxProcess32::syscall().
SyscallTable64 syscallDescs64High(0x900000) |
|
static |
Referenced by ArmLinuxProcess64::syscall().