40 #ifndef __ARCH_X86_PROCESS_HH__
41 #define __ARCH_X86_PROCESS_HH__
71 template<
class IntType>
179 Fault *fault)
override;
197 #endif // __ARCH_X86_PROCESS_HH__
VSyscallPage vsyscallPage
MultiLevelPageTable< PageTableOps > ArchPageTable
Declaration of architectural page table for x86.
X86Process(ProcessParams *params, ObjectFile *objFile, SyscallDesc *_syscallDescs, int _numSyscallDescs)
void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val)
void argsInit(int pageSize)
VSyscallPage & operator=(const VSyscallPage &in)
void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *process, TheISA::IntReg flags)
void syscall(int64_t callnum, ThreadContext *tc, Fault *fault) override
void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *process, TheISA::IntReg flags)
void argsInit(int pageSize, std::vector< AuxVector< IntType > > extraAuxvs)
const Params * params() const
virtual TheISA::IntReg getSyscallArg(ThreadContext *tc, int &i)=0
void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val)
VSyscallPage & operator=(const VSyscallPage &in)
Declaration of a multi-level page table.
X86_64Process(ProcessParams *params, ObjectFile *objFile, SyscallDesc *_syscallDescs, int _numSyscallDescs)
const int numSyscallDescs
ThreadContext is the external interface to all thread state for anything outside of the CPU...
void argsInit(int pageSize)
X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i)
void initState()
initState() is called on each SimObject when not restoring from a checkpoint.
void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value)
void initState()
initState() is called on each SimObject when not restoring from a checkpoint.
void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *process, TheISA::IntReg flags)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
X86Process & operator=(const X86Process &in)
X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i)
VSyscallPage vsyscallPage
This class provides the wrapper interface for the system call implementations which are defined in th...
This class implements an in-memory multi-level page table that can be configured to follow ISA specif...
SyscallDesc * syscallDescs
SyscallDesc * getDesc(int callnum)
I386Process(ProcessParams *params, ObjectFile *objFile, SyscallDesc *_syscallDescs, int _numSyscallDescs)
This class represents the return value from an emulated system call, including any errno setting...
std::shared_ptr< FaultBase > Fault