sim-se: remove unused parameter
The init function which processes invoke on their page tables has a thread context pointer parameter. The parameter is not used by the code so remove it. Change-Id: Ic4766fbc105d81c1c9ee4b5c0f428497dff2ab30 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19948 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Brandon Potter
parent
77f7cc489e
commit
29082ef5ce
@@ -202,7 +202,7 @@ public:
|
||||
~MultiLevelPageTable() {}
|
||||
|
||||
void
|
||||
initState(ThreadContext* tc) override
|
||||
initState() override
|
||||
{
|
||||
if (shared)
|
||||
return;
|
||||
|
||||
@@ -99,7 +99,7 @@ class EmulationPageTable : public Serializable
|
||||
// flag which marks the page table as shared among software threads
|
||||
bool shared;
|
||||
|
||||
virtual void initState(ThreadContext* tc) {};
|
||||
virtual void initState() {};
|
||||
|
||||
// for DPRINTF compatibility
|
||||
const std::string name() const { return _name; }
|
||||
|
||||
@@ -282,7 +282,7 @@ Process::initState()
|
||||
// mark this context as active so it will start ticking.
|
||||
tc->activate();
|
||||
|
||||
pTable->initState(tc);
|
||||
pTable->initState();
|
||||
}
|
||||
|
||||
DrainState
|
||||
|
||||
Reference in New Issue
Block a user