misc: Remove sim/cur_tick dependency from sim/core.hh

Remove this unnecessary dependency. Fixed all incorrect
includes of sim/core.hh.

Change-Id: I3ae282dbaeb45fbf4630237a3ab9b1a593ffbe0c
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/43592
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Daniel R. Carvalho
2021-03-21 18:07:29 -03:00
committed by Daniel Carvalho
parent 5b0596935d
commit 4b2118ed4b
72 changed files with 52 additions and 54 deletions

View File

@@ -40,9 +40,6 @@
#include "base/compiler.hh"
#include "base/types.hh"
// @todo The next include is not needed in this file, but must be kept
// until the transitive includes are fixed
#include "sim/cur_tick.hh"
namespace gem5
{

View File

@@ -41,7 +41,6 @@
#include "base/trace.hh"
#include "cpu/smt.hh"
#include "debug/Checkpoint.hh"
#include "sim/core.hh"
namespace gem5
{

View File

@@ -49,7 +49,7 @@
#include "base/types.hh"
#include "base/uncontended_mutex.hh"
#include "debug/Event.hh"
#include "sim/core.hh"
#include "sim/cur_tick.hh"
#include "sim/serialize.hh"
namespace gem5

View File

@@ -29,7 +29,7 @@
#include "sim/global_event.hh"
#include "sim/core.hh"
#include "sim/cur_tick.hh"
namespace gem5
{

View File

@@ -58,7 +58,6 @@
#include "config/have_protobuf.hh"
#include "python/pybind11/pybind.hh"
#include "sim/async.hh"
#include "sim/core.hh"
#if HAVE_PROTOBUF
#include <google/protobuf/stubs/common.h>

View File

@@ -58,7 +58,6 @@
#include "base/logging.hh"
#include "sim/async.hh"
#include "sim/backtrace.hh"
#include "sim/core.hh"
#include "sim/eventq.hh"
namespace gem5

View File

@@ -42,6 +42,7 @@
#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/PowerDomain.hh"
#include "sim/cur_tick.hh"
#include "sim/power_domain.hh"
#include "sim/serialize.hh"

View File

@@ -50,7 +50,6 @@
#include "base/statistics.hh"
#include "enums/PwrState.hh"
#include "params/PowerState.hh"
#include "sim/core.hh"
#include "sim/sim_object.hh"
namespace gem5

View File

@@ -44,6 +44,8 @@
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "debug/TimeSync.hh"
#include "sim/core.hh"
#include "sim/cur_tick.hh"
#include "sim/eventq.hh"
#include "sim/full_system.hh"
#include "sim/root.hh"

View File

@@ -43,7 +43,7 @@
#include "base/compiler.hh"
#include "base/types.hh"
#include "sim/core.hh"
#include "sim/cur_tick.hh"
namespace gem5
{