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

@@ -46,7 +46,6 @@
#include "base/logging.hh"
#include "base/types.hh"
#include "sim/async.hh"
#include "sim/core.hh"
#include "sim/eventq.hh"
#include "sim/serialize.hh"

View File

@@ -33,7 +33,6 @@
#include <vector>
#include "sim/core.hh"
#include "sim/serialize.hh"
namespace gem5

View File

@@ -38,8 +38,7 @@
#include "base/logging.hh"
#include "base/stats/info.hh"
#include "base/stats/types.hh"
// For curTick().
#include "sim/core.hh"
#include "sim/cur_tick.hh"
namespace gem5
{

View File

@@ -41,7 +41,7 @@
#include "base/debug.hh"
#include "base/match.hh"
#include "base/types.hh"
#include "sim/core.hh"
#include "sim/cur_tick.hh"
// Return the global context name "global". This function gets called when
// the DPRINTF macros are used in a context without a visible name() function

View File

@@ -67,7 +67,6 @@
#include "base/trace.hh"
#include "debug/VNC.hh"
#include "sim/byteswap.hh"
#include "sim/core.hh"
namespace gem5
{