gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
process.cc File Reference
#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 []
 

Function Documentation

static SyscallReturn archPrctlFunc ( SyscallDesc desc,
int  callnum,
Process process,
ThreadContext tc 
)
static
BitUnion32 ( UserDescFlags  )
EndBitUnion ( UserDescFlags  )

Definition at line 123 of file process.cc.

static SyscallReturn setThreadArea32Func ( SyscallDesc desc,
int  callnum,
Process process,
ThreadContext tc 
)
static
static SyscallReturn unameFunc ( SyscallDesc desc,
int  callnum,
Process process,
ThreadContext tc 
)
static

Target uname() handler.

Definition at line 57 of file process.cc.

References ThreadContext::getMemProxy(), Process::getSyscallArg(), MipsISA::index, and name().

Variable Documentation

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.

SyscallDesc syscallDescs32[]
static

Definition at line 551 of file process.cc.

SyscallDesc syscallDescs64[]
static

Definition at line 222 of file process.cc.

Bitfield<6> useable

Definition at line 122 of file process.cc.


Generated on Fri Jun 9 2017 13:03:52 for gem5 by doxygen 1.8.6