{
X86Process::initState();
- argsInit(sizeof(uint64_t), PageBytes);
+ argsInit(PageBytes);
// Set up the vsyscall page for this process.
allocateMem(vsyscallPage.base, vsyscallPage.size);
{
X86Process::initState();
- argsInit(sizeof(uint32_t), PageBytes);
+ argsInit(PageBytes);
/*
* Set up a GDT for this process. The whole GDT wouldn't really be for
template<class IntType>
void
X86Process::argsInit(int pageSize,
- std::vector<AuxVector<IntType> > extraAuxvs)
+ std::vector<AuxVector<IntType> > extraAuxvs)
{
int intSize = sizeof(IntType);
}
void
-X86_64Process::argsInit(int intSize, int pageSize)
+X86_64Process::argsInit(int pageSize)
{
std::vector<AuxVector<uint64_t> > extraAuxvs;
extraAuxvs.push_back(AuxVector<uint64_t>(M5_AT_SYSINFO_EHDR,
}
void
-I386Process::argsInit(int intSize, int pageSize)
+I386Process::argsInit(int pageSize)
{
std::vector<AuxVector<uint32_t> > extraAuxvs;
//Tell the binary where the vsyscall part of the vsyscall page is.
template<class IntType>
void argsInit(int pageSize,
- std::vector<AuxVector<IntType> > extraAuxvs);
+ std::vector<AuxVector<IntType> > extraAuxvs);
public:
Addr gdtStart()
VSyscallPage vsyscallPage;
public:
- void argsInit(int intSize, int pageSize);
+ void argsInit(int pageSize);
void initState();
X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
VSyscallPage vsyscallPage;
public:
- void argsInit(int intSize, int pageSize);
+ void argsInit(int pageSize);
void initState();
void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);