gem5
|
#include "arch/x86/linux/process.hh"
#include "arch/x86/isa_traits.hh"
#include "arch/x86/linux/linux.hh"
#include "arch/x86/registers.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, int callnum, Process *process, ThreadContext *tc) |
Target uname() handler. More... | |
static SyscallReturn | archPrctlFunc (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc) |
BitUnion32 (UserDescFlags) Bitfield< 0 > seg_32bit | |
EndBitUnion (UserDescFlags) struct UserDesc32 | |
static SyscallReturn | setThreadArea32Func (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc) |
Variables | |
Bitfield< 2, 1 > | contents |
Bitfield< 3 > | read_exec_only |
Bitfield< 4 > | limit_in_pages |
Bitfield< 5 > | seg_not_present |
Bitfield< 6 > | useable |
static SyscallDesc | syscallDescs64 [] |
static SyscallDesc | syscallDescs32 [] |
|
static |
Definition at line 75 of file process.cc.
References addr, ThreadContext::getMemProxy(), Process::getSyscallArg(), MipsISA::index, X86ISA::MISCREG_FS_BASE, X86ISA::MISCREG_FS_EFF_BASE, X86ISA::MISCREG_GS_BASE, X86ISA::MISCREG_GS_EFF_BASE, MipsISA::p, ThreadContext::readMiscRegNoEffect(), ThreadContext::setMiscRegNoEffect(), and PortProxy::write().
BitUnion32 | ( | UserDescFlags | ) |
EndBitUnion | ( | UserDescFlags | ) |
Definition at line 123 of file process.cc.
|
static |
Definition at line 141 of file process.cc.
References bits(), X86ISA::X86Process::gdtSize(), X86ISA::X86Process::gdtStart(), ThreadContext::getMemProxy(), Process::getSyscallArg(), ArmISA::i, MipsISA::index, SyscallDesc::name(), and panic.
|
static |
Target uname() handler.
Definition at line 57 of file process.cc.
References ThreadContext::getMemProxy(), Process::getSyscallArg(), MipsISA::index, and name().
Bitfield<2, 1> contents |
Definition at line 118 of file process.cc.
Bitfield<4> limit_in_pages |
Definition at line 120 of file process.cc.
Bitfield<3> read_exec_only |
Definition at line 119 of file process.cc.
Bitfield<5> seg_not_present |
Definition at line 121 of file process.cc.
|
static |
Definition at line 551 of file process.cc.
|
static |
Definition at line 222 of file process.cc.
Bitfield<6> useable |
Definition at line 122 of file process.cc.