diff options
author | Gabe Black <gabeblack@google.com> | 2020-01-09 02:46:30 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2020-01-22 07:05:44 +0000 |
commit | 11f7344cdc215e6950e54f53956e4298ed1fee2b (patch) | |
tree | 2597fb45e5e1f3ce0a07f42dfa0f1e35f9662cc5 /src/arch/arm | |
parent | 0b7d8428af6b64ea48a41254990c2c54512a695b (diff) | |
download | gem5-11f7344cdc215e6950e54f53956e4298ed1fee2b.tar.xz |
arch: Get rid of the unused (and mostly undefined) zeroRegisters.
Change-Id: Iadf56e4e742506af7ae4b617d2dc5a56439aa407
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24188
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/utility.hh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/arm/utility.hh b/src/arch/arm/utility.hh index 4d1348abc..538c83173 100644 --- a/src/arch/arm/utility.hh +++ b/src/arch/arm/utility.hh @@ -95,13 +95,6 @@ testPredicate(uint32_t nz, uint32_t c, uint32_t v, ConditionCode code) } } -/** - * Function to insure ISA semantics about 0 registers. - * @param tc The thread context. - */ -template <class TC> -void zeroRegisters(TC *tc); - inline void startupCPU(ThreadContext *tc, int cpuId) { tc->activate(); |