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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50756 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user