From: Gabe Black Date: Wed, 4 Mar 2020 05:46:40 +0000 (-0800) Subject: base,cpu,sim: Stop including arch/vtophys.hh when not using vtophys. X-Git-Tag: v20.0.0.0~415 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10833b50fe5c4b21e4cc288578410ce40dc62528;p=gem5.git base,cpu,sim: Stop including arch/vtophys.hh when not using vtophys. These #includes are leftovers from when vtophys was used much more prevalently in the simulator. Change-Id: Ib2e947bc95f1e21acc9eff8e856f38b31d3fd933 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26225 Reviewed-by: Nikos Nikoleris Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/base/remote_gdb.cc b/src/base/remote_gdb.cc index 7c8241a40..add903e78 100644 --- a/src/base/remote_gdb.cc +++ b/src/base/remote_gdb.cc @@ -138,7 +138,6 @@ #include #include -#include "arch/vtophys.hh" #include "base/intmath.hh" #include "base/socket.hh" #include "base/trace.hh" diff --git a/src/cpu/checker/cpu.cc b/src/cpu/checker/cpu.cc index 16fcc14de..b62a5c605 100644 --- a/src/cpu/checker/cpu.cc +++ b/src/cpu/checker/cpu.cc @@ -44,7 +44,6 @@ #include #include "arch/generic/tlb.hh" -#include "arch/vtophys.hh" #include "cpu/base.hh" #include "cpu/simple_thread.hh" #include "cpu/static_inst.hh" diff --git a/src/cpu/checker/cpu_impl.hh b/src/cpu/checker/cpu_impl.hh index 9a59d8b16..b48f6daef 100644 --- a/src/cpu/checker/cpu_impl.hh +++ b/src/cpu/checker/cpu_impl.hh @@ -46,7 +46,6 @@ #include #include "arch/isa_traits.hh" -#include "arch/vtophys.hh" #include "base/refcnt.hh" #include "config/the_isa.hh" #include "cpu/base_dyn_inst.hh" diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 7e61281b9..6a0184a4b 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -51,7 +51,6 @@ #include "arch/generic/tlb.hh" #include "arch/isa_traits.hh" #include "arch/utility.hh" -#include "arch/vtophys.hh" #include "base/random.hh" #include "base/types.hh" #include "config/the_isa.hh" diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 2f616f1ec..8f23babfe 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -43,7 +43,6 @@ #include "arch/stacktrace.hh" #include "arch/utility.hh" -#include "arch/vtophys.hh" #include "base/cp_annotate.hh" #include "base/cprintf.hh" #include "base/inifile.hh" diff --git a/src/sim/pseudo_inst.cc b/src/sim/pseudo_inst.cc index 3c369b086..1878dde4c 100644 --- a/src/sim/pseudo_inst.cc +++ b/src/sim/pseudo_inst.cc @@ -49,7 +49,6 @@ #include #include -#include "arch/vtophys.hh" #include "base/debug.hh" #include "base/output.hh" #include "config/the_isa.hh"