x86: remove unnecessary parameter from functions
This commit is contained in:
parent
8602aea4e5
commit
f5656738dc
|
@ -188,7 +188,7 @@ X86_64Process::initState()
|
||||||
{
|
{
|
||||||
X86Process::initState();
|
X86Process::initState();
|
||||||
|
|
||||||
argsInit(sizeof(uint64_t), PageBytes);
|
argsInit(PageBytes);
|
||||||
|
|
||||||
// Set up the vsyscall page for this process.
|
// Set up the vsyscall page for this process.
|
||||||
allocateMem(vsyscallPage.base, vsyscallPage.size);
|
allocateMem(vsyscallPage.base, vsyscallPage.size);
|
||||||
|
@ -632,7 +632,7 @@ I386Process::initState()
|
||||||
{
|
{
|
||||||
X86Process::initState();
|
X86Process::initState();
|
||||||
|
|
||||||
argsInit(sizeof(uint32_t), PageBytes);
|
argsInit(PageBytes);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set up a GDT for this process. The whole GDT wouldn't really be for
|
* Set up a GDT for this process. The whole GDT wouldn't really be for
|
||||||
|
@ -1034,7 +1034,7 @@ X86Process::argsInit(int pageSize,
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
X86_64Process::argsInit(int intSize, int pageSize)
|
X86_64Process::argsInit(int pageSize)
|
||||||
{
|
{
|
||||||
std::vector<AuxVector<uint64_t> > extraAuxvs;
|
std::vector<AuxVector<uint64_t> > extraAuxvs;
|
||||||
extraAuxvs.push_back(AuxVector<uint64_t>(M5_AT_SYSINFO_EHDR,
|
extraAuxvs.push_back(AuxVector<uint64_t>(M5_AT_SYSINFO_EHDR,
|
||||||
|
@ -1043,7 +1043,7 @@ X86_64Process::argsInit(int intSize, int pageSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
I386Process::argsInit(int intSize, int pageSize)
|
I386Process::argsInit(int pageSize)
|
||||||
{
|
{
|
||||||
std::vector<AuxVector<uint32_t> > extraAuxvs;
|
std::vector<AuxVector<uint32_t> > extraAuxvs;
|
||||||
//Tell the binary where the vsyscall part of the vsyscall page is.
|
//Tell the binary where the vsyscall part of the vsyscall page is.
|
||||||
|
|
|
@ -101,7 +101,7 @@ namespace X86ISA
|
||||||
VSyscallPage vsyscallPage;
|
VSyscallPage vsyscallPage;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void argsInit(int intSize, int pageSize);
|
void argsInit(int pageSize);
|
||||||
void initState();
|
void initState();
|
||||||
|
|
||||||
X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
|
X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
|
||||||
|
@ -127,7 +127,7 @@ namespace X86ISA
|
||||||
VSyscallPage vsyscallPage;
|
VSyscallPage vsyscallPage;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void argsInit(int intSize, int pageSize);
|
void argsInit(int pageSize);
|
||||||
void initState();
|
void initState();
|
||||||
|
|
||||||
void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
|
void syscall(int64_t callnum, ThreadContext *tc, Fault *fault);
|
||||||
|
|
Loading…
Reference in a new issue