summaryrefslogtreecommitdiff
path: root/src/arch/arm/system.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-05-23 13:46:54 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-05-23 13:46:54 +0100
commit6533f2000bcd6d01f59655491198950b4ebff80b (patch)
treeee2f1e7f88ac64e343fa127c5c70ca00ab6aba88 /src/arch/arm/system.cc
parent2278fec1d1064ec1622098153b20a773fb688e78 (diff)
downloadgem5-6533f2000bcd6d01f59655491198950b4ebff80b.tar.xz
arm: Get rid of pointless have_generic_timer param
The ArmSystem class has a parameter to indicate whether it is configured to use the generic timer extension or not. This parameter doesn't affect any feature flags in the current implementation and is therefore completely unnecessary. In fact, we usually don't set it even if a system has a generic timer. If we ever need to check if there is a generic timer present, we should just request a pointer and check if it is non-null instead.
Diffstat (limited to 'src/arch/arm/system.cc')
-rw-r--r--src/arch/arm/system.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/arm/system.cc b/src/arch/arm/system.cc
index a7db9ca1b..8e4e82571 100644
--- a/src/arch/arm/system.cc
+++ b/src/arch/arm/system.cc
@@ -57,7 +57,6 @@ ArmSystem::ArmSystem(Params *p)
: System(p), bootldr(NULL), _haveSecurity(p->have_security),
_haveLPAE(p->have_lpae),
_haveVirtualization(p->have_virtualization),
- _haveGenericTimer(p->have_generic_timer),
_genericTimer(nullptr),
_highestELIs64(p->highest_el_is_64),
_resetAddr64(p->reset_addr_64),