Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/33195 )

Change subject: misc: Replace some includes of arch/isa_traits.hh.
......................................................................

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
---
M src/cpu/pred/indirect.hh
M src/sim/vma.hh
2 files changed, 2 insertions(+), 2 deletions(-)



diff --git a/src/cpu/pred/indirect.hh b/src/cpu/pred/indirect.hh
index f4e6e81..5c07086 100644
--- a/src/cpu/pred/indirect.hh
+++ b/src/cpu/pred/indirect.hh
@@ -29,7 +29,7 @@
 #ifndef __CPU_PRED_INDIRECT_BASE_HH__
 #define __CPU_PRED_INDIRECT_BASE_HH__

-#include "arch/isa_traits.hh"
+#include "arch/types.hh"
 #include "config/the_isa.hh"
 #include "cpu/inst_seq.hh"
 #include "params/IndirectPredictor.hh"
diff --git a/src/sim/vma.hh b/src/sim/vma.hh
index 3d5d104..8dd3853 100644
--- a/src/sim/vma.hh
+++ b/src/sim/vma.hh
@@ -31,8 +31,8 @@

 #include <string>

-#include "arch/isa_traits.hh"
 #include "base/addr_range.hh"
+#include "base/trace.hh"
 #include "base/types.hh"
 #include "debug/Vma.hh"
 #include "mem/se_translating_port_proxy.hh"

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/33195
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I6de08f196499c85b54edde09d654902cc766c2eb
Gerrit-Change-Number: 33195
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to