misc: Delete the now unnecessary create methods.
Most create() methods are no longer necessary. This change deletes them, and occasionally moves some code from them into the constructors they call. Change-Id: Icbab29ba280144b892f9b12fac9e29a0839477e5 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36536 Reviewed-by: Gabe Black <gabe.black@gmail.com> Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -1584,27 +1584,3 @@ GenericTimerMem::timerCtrlWrite(Addr addr, size_t size, uint64_t data,
|
||||
"(0x%x:%i), assuming WI\n", addr, size);
|
||||
}
|
||||
}
|
||||
|
||||
SystemCounter *
|
||||
SystemCounterParams::create() const
|
||||
{
|
||||
return new SystemCounter(*this);
|
||||
}
|
||||
|
||||
GenericTimer *
|
||||
GenericTimerParams::create() const
|
||||
{
|
||||
return new GenericTimer(*this);
|
||||
}
|
||||
|
||||
GenericTimerFrame *
|
||||
GenericTimerFrameParams::create() const
|
||||
{
|
||||
return new GenericTimerFrame(*this);
|
||||
}
|
||||
|
||||
GenericTimerMem *
|
||||
GenericTimerMemParams::create() const
|
||||
{
|
||||
return new GenericTimerMem(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user