gem5
v20.1.0.0
|
#include "arch/x86/linux/process.hh"
#include <sys/syscall.h>
#include "arch/x86/isa_traits.hh"
#include "arch/x86/linux/linux.hh"
#include "arch/x86/registers.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"
Go to the source code of this file.
Classes | |
struct | UserDesc64 |
Functions | |
static SyscallReturn | unameFunc (SyscallDesc *desc, ThreadContext *tc, VPtr< Linux::utsname > name) |
Target uname() handler. More... | |
static SyscallReturn | archPrctlFunc (SyscallDesc *desc, ThreadContext *tc, int code, uint64_t addr) |
BitUnion32 (UserDescFlags) Bitfield< 0 > seg_32bit | |
EndBitUnion (UserDescFlags) struct UserDesc32 | |
static SyscallReturn | setThreadArea32Func (SyscallDesc *desc, ThreadContext *tc, VPtr< UserDesc32 > userDesc) |
Variables | |
Bitfield< 2, 1 > | contents |
Bitfield< 3 > | read_exec_only |
Bitfield< 4 > | limit_in_pages |
Bitfield< 5 > | seg_not_present |
Bitfield< 6 > | useable |
static SyscallDescTable< X86_64LinuxProcess::SyscallABI > | syscallDescs64 |
static SyscallDescTable< I386LinuxProcess::SyscallABI > | syscallDescs32 |
|
static |
Definition at line 106 of file process.cc.
References addr, ThreadContext::getVirtProxy(), X86ISA::MISCREG_FS_BASE, X86ISA::MISCREG_FS_EFF_BASE, X86ISA::MISCREG_GS_BASE, X86ISA::MISCREG_GS_EFF_BASE, MipsISA::p, ThreadContext::readMiscRegNoEffect(), and ThreadContext::setMiscRegNoEffect().
BitUnion32 | ( | UserDescFlags | ) |
Referenced by SparcISA::SparcStaticInst::passesCondition().
EndBitUnion | ( | UserDescFlags | ) |
|
static |
Definition at line 167 of file process.cc.
References bits(), BaseBufferArg::copyIn(), BaseBufferArg::copyOut(), X86ISA::X86Process::gdtSize(), X86ISA::X86Process::gdtStart(), ThreadContext::getProcessPtr(), ThreadContext::getVirtProxy(), ArmISA::i, MipsISA::index, SyscallDesc::name(), and panic.
|
static |
Target uname() handler.
Definition at line 92 of file process.cc.
References ThreadContext::getProcessPtr(), and name().
Bitfield<2, 1> contents |
Definition at line 144 of file process.cc.
Bitfield<4> limit_in_pages |
Definition at line 146 of file process.cc.
Bitfield<3> read_exec_only |
Definition at line 145 of file process.cc.
Bitfield<5> seg_not_present |
Definition at line 147 of file process.cc.
|
static |
Definition at line 586 of file process.cc.
Referenced by X86ISA::I386LinuxProcess::syscall().
|
static |
Definition at line 247 of file process.cc.
Referenced by X86ISA::X86_64LinuxProcess::syscall().
Bitfield<6> useable |
Definition at line 148 of file process.cc.