misc: Replace some includes of arch/isa_traits.hh.
authorGabe Black <gabeblack@google.com>
Sat, 22 Aug 2020 01:22:32 +0000 (18:22 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 25 Aug 2020 03:22:22 +0000 (03:22 +0000)
commit634562f5dd1b8e4b01fd98d8f09a26d7d6b1c303
treed92a0d76f888a110c298a42e2e85617f96e13fe5
parentb21175bebac56581d8a820ba4f771aea788af4ff
misc: Replace some includes of arch/isa_traits.hh.

In sim/vma.hh, the include was indirectly getting the definition of
DPRINTF. It was replaced with an include of base/trace.hh which actually
provides that definition.

In the indirect branch predictor, it was being used to get the
definition of TheISA::PCState. This should come from arch/types.hh
instead.

Change-Id: I6de08f196499c85b54edde09d654902cc766c2eb
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33195
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/pred/indirect.hh
src/sim/vma.hh