summaryrefslogtreecommitdiff
path: root/src/arch/x86/process.cc
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2017-02-27 14:09:30 -0500
committerBrandon Potter <brandon.potter@amd.com>2017-02-27 14:09:30 -0500
commitf5656738dc3ded25ba8a269efff70e8f12fc22ee (patch)
treea963f0539685bd6cc9c4f045f616745514a9e377 /src/arch/x86/process.cc
parent8602aea4e5edd0cb455fca03237e430babe0b6f2 (diff)
downloadgem5-f5656738dc3ded25ba8a269efff70e8f12fc22ee.tar.xz
x86: remove unnecessary parameter from functions
Diffstat (limited to 'src/arch/x86/process.cc')
-rw-r--r--src/arch/x86/process.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc
index c1e4f710a..35ea70430 100644
--- a/src/arch/x86/process.cc
+++ b/src/arch/x86/process.cc
@@ -188,7 +188,7 @@ X86_64Process::initState()
{
X86Process::initState();
- argsInit(sizeof(uint64_t), PageBytes);
+ argsInit(PageBytes);
// Set up the vsyscall page for this process.
allocateMem(vsyscallPage.base, vsyscallPage.size);
@@ -632,7 +632,7 @@ I386Process::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
@@ -749,7 +749,7 @@ I386Process::initState()
template<class IntType>
void
X86Process::argsInit(int pageSize,
- std::vector<AuxVector<IntType> > extraAuxvs)
+ std::vector<AuxVector<IntType> > extraAuxvs)
{
int intSize = sizeof(IntType);
@@ -1034,7 +1034,7 @@ X86Process::argsInit(int pageSize,
}
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,
@@ -1043,7 +1043,7 @@ X86_64Process::argsInit(int intSize, int pageSize)
}
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.