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

Change subject: misc: Include static_inst_fwd.hh in sim/faults.hh.
......................................................................

misc: Include static_inst_fwd.hh in sim/faults.hh.

We only need a StaticInstPtr type, so we don't need to include all of
static_inst.hh. Also fix up some other files which were including some
other things transitively through sim/faults.hh.

Change-Id: I912a84963f33d99617f57d59517c402326f7a494
---
M src/arch/generic/debugfaults.hh
M src/cpu/o3/comm.hh
M src/sim/faults.hh
3 files changed, 3 insertions(+), 1 deletion(-)



diff --git a/src/arch/generic/debugfaults.hh b/src/arch/generic/debugfaults.hh
index d3886e0..f54bd7c 100644
--- a/src/arch/generic/debugfaults.hh
+++ b/src/arch/generic/debugfaults.hh
@@ -42,6 +42,7 @@

 #include "base/logging.hh"
 #include "cpu/null_static_inst.hh"
+#include "cpu/static_inst.hh"
 #include "cpu/thread_context.hh"
 #include "sim/faults.hh"

diff --git a/src/cpu/o3/comm.hh b/src/cpu/o3/comm.hh
index 013ef99..fc10848 100644
--- a/src/cpu/o3/comm.hh
+++ b/src/cpu/o3/comm.hh
@@ -46,6 +46,7 @@

 #include "arch/pcstate.hh"
 #include "base/types.hh"
+#include "config/the_isa.hh"
 #include "cpu/inst_seq.hh"
 #include "cpu/o3/dyn_inst_ptr.hh"
 #include "cpu/o3/limits.hh"
diff --git a/src/sim/faults.hh b/src/sim/faults.hh
index b1c358c..d2e091e 100644
--- a/src/sim/faults.hh
+++ b/src/sim/faults.hh
@@ -43,7 +43,7 @@

 #include "base/types.hh"
 #include "cpu/null_static_inst.hh"
-#include "cpu/static_inst.hh"
+#include "cpu/static_inst_fwd.hh"
 #include "mem/htm.hh"
 #include "sim/stats.hh"


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50756
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: I912a84963f33d99617f57d59517c402326f7a494
Gerrit-Change-Number: 50756
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to