util: Pull "usage()" out of the call types in the m5 utility.
authorGabe Black <gabeblack@google.com>
Thu, 9 Apr 2020 06:55:14 +0000 (23:55 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 12 Aug 2020 01:36:53 +0000 (01:36 +0000)
commit38672ccfe4642ddd4e2265db928374d158afaf07
tree339764d75b502670a8f490bc1c6ddb39e1da4d38
parentbef04bca28a0847e343538da13181d80044ef23f
util: Pull "usage()" out of the call types in the m5 utility.

Also pull common implementations of some call type methods into the base
class, and make disappearing call types clean themselves up to make the
test a little simpler and less error prone.

Change-Id: Ie178fe02d41587647ddc90a084d1d1142b84dde9
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27687
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/m5/src/SConscript.native
util/m5/src/call_type.cc
util/m5/src/call_type.hh
util/m5/src/call_type.test.cc
util/m5/src/call_type/addr.cc
util/m5/src/call_type/inst.cc
util/m5/src/call_type/semi.cc
util/m5/src/m5.cc