gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
process.cc File Reference
#include "arch/arm/linux/process.hh"
#include "arch/arm/isa_traits.hh"
#include "arch/arm/linux/linux.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.

Functions

static SyscallReturn unameFunc32 (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
 Target uname() handler. More...
 
static SyscallReturn unameFunc64 (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
 Target uname() handler. More...
 
static SyscallReturn setTLSFunc32 (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
 Target set_tls() handler. More...
 
static SyscallReturn setTLSFunc64 (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
 

Variables

static SyscallDesc syscallDescs32 []
 
static SyscallDesc syscallDescs64 []
 
static SyscallDesc privSyscallDescs32 []
 
static SyscallDesc privSyscallDescs64 []
 

Function Documentation

static SyscallReturn setTLSFunc32 ( SyscallDesc desc,
int  callnum,
Process process,
ThreadContext tc 
)
static
static SyscallReturn setTLSFunc64 ( SyscallDesc desc,
int  callnum,
Process process,
ThreadContext tc 
)
static
static SyscallReturn unameFunc32 ( SyscallDesc desc,
int  callnum,
Process process,
ThreadContext tc 
)
static

Target uname() handler.

Definition at line 64 of file process.cc.

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

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

Target uname() handler.

Definition at line 82 of file process.cc.

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

Variable Documentation

SyscallDesc privSyscallDescs32[]
static
Initial value:
= {
}
static SyscallReturn setTLSFunc32(SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
Target set_tls() handler.
Definition: process.cc:100
SyscallReturn unimplementedFunc(SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
Handler for unimplemented syscalls that we haven't thought about.
Definition: syscall_emul.cc:57
This class provides the wrapper interface for the system call implementations which are defined in th...
Definition: syscall_desc.hh:63

Definition at line 1575 of file process.cc.

Referenced by ArmLinuxProcess32::ArmLinuxProcess32().

SyscallDesc privSyscallDescs64[]
static
Initial value:
= {
SyscallDesc("unallocated", unimplementedFunc),
SyscallDesc("unallocated", unimplementedFunc),
SyscallDesc("unallocated", unimplementedFunc),
}
static SyscallReturn setTLSFunc64(SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
Definition: process.cc:113
SyscallReturn unimplementedFunc(SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
Handler for unimplemented syscalls that we haven't thought about.
Definition: syscall_emul.cc:57
This class provides the wrapper interface for the system call implementations which are defined in th...
Definition: syscall_desc.hh:63

Definition at line 1584 of file process.cc.

Referenced by ArmLinuxProcess64::ArmLinuxProcess64().

SyscallDesc syscallDescs32[]
static

Definition at line 123 of file process.cc.

Referenced by ArmLinuxProcess32::ArmLinuxProcess32().

SyscallDesc syscallDescs64[]
static

Definition at line 492 of file process.cc.

Referenced by ArmLinuxProcess64::ArmLinuxProcess64().


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