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

Functions

static SyscallReturn unameFunc (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
 Target uname() handler. More...
 
static SyscallReturn osf_getsysinfoFunc (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
 Target osf_getsysyinfo() handler. More...
 
static SyscallReturn osf_setsysinfoFunc (SyscallDesc *desc, int callnum, Process *process, ThreadContext *tc)
 Target osf_setsysinfo() handler. More...
 

Function Documentation

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

Target osf_getsysyinfo() handler.

Even though this call is borrowed from Tru64, the subcases that get used appear to be different in practice from those used by Tru64 processes.

Definition at line 69 of file process.cc.

References BaseBufferArg::copyOut(), ThreadContext::getMemProxy(), Process::getSyscallArg(), MipsISA::index, and X86ISA::op.

static SyscallReturn osf_setsysinfoFunc ( 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 49 of file process.cc.

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


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