arch-arm: Remove unused getArmSystem helper
Change-Id: Ifbb1619fa1cfd6c6cda5c390889c423dbe62dc7e Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Ciro Santilli <ciro.santilli@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25963 Reviewed-by: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -180,14 +180,6 @@ ArmSystem::initState()
|
||||
}
|
||||
}
|
||||
|
||||
ArmSystem *
|
||||
ArmSystem::getArmSystem(System *sys)
|
||||
{
|
||||
ArmSystem *a_sys = dynamic_cast<ArmSystem *>(sys);
|
||||
assert(a_sys);
|
||||
return a_sys;
|
||||
}
|
||||
|
||||
ArmSystem*
|
||||
ArmSystem::getArmSystem(ThreadContext *tc)
|
||||
{
|
||||
|
||||
@@ -270,13 +270,6 @@ class ArmSystem : public System
|
||||
/** Is Arm Semihosting support enabled? */
|
||||
bool haveSemihosting() const { return semihosting != nullptr; }
|
||||
|
||||
/**
|
||||
* Casts the provided System object into a valid ArmSystem, it fails
|
||||
* otherwise.
|
||||
* @param sys System object to cast
|
||||
*/
|
||||
static ArmSystem *getArmSystem(System *sys);
|
||||
|
||||
/**
|
||||
* Returns a valid ArmSystem pointer if using ARM ISA, it fails
|
||||
* otherwise.
|
||||
|
||||
Reference in New Issue
Block a user