From: Steve Reinhardt Date: Wed, 22 Oct 2003 04:32:15 +0000 (-0700) Subject: Don't need to include sim/param.hh in sim_object.hh anymore. X-Git-Tag: m5_1.0_beta2~371^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de29fec658f6107c20a00c9c30111b253afafeac;p=gem5.git Don't need to include sim/param.hh in sim_object.hh anymore. Add explicit include of sim/param.hh to .cc files as needed. cpu/base_cpu.cc: cpu/exetrace.cc: dev/etherint.cc: sim/system.cc: Add include of sim/param.hh. sim/sim_object.hh: Don't need to include sim/param.hh. --HG-- extra : convert_revision : 8ed13f25c2087680230056ab7abb623e6a7699cf --- diff --git a/cpu/base_cpu.cc b/cpu/base_cpu.cc index 2e1d95d88..90e090d5e 100644 --- a/cpu/base_cpu.cc +++ b/cpu/base_cpu.cc @@ -34,6 +34,7 @@ #include "base/cprintf.hh" #include "cpu/exec_context.hh" #include "base/misc.hh" +#include "sim/param.hh" #include "sim/sim_events.hh" using namespace std; diff --git a/cpu/exetrace.cc b/cpu/exetrace.cc index 01f50e675..c350288bc 100644 --- a/cpu/exetrace.cc +++ b/cpu/exetrace.cc @@ -29,6 +29,7 @@ #include #include +#include "sim/param.hh" #include "cpu/full_cpu/dyn_inst.hh" #include "cpu/full_cpu/spec_state.hh" #include "cpu/full_cpu/issue.hh" diff --git a/dev/etherint.cc b/dev/etherint.cc index 2845ce729..cfffb3a87 100644 --- a/dev/etherint.cc +++ b/dev/etherint.cc @@ -28,6 +28,7 @@ #include "dev/etherint.hh" #include "base/misc.hh" +#include "sim/param.hh" #include "sim/sim_object.hh" void diff --git a/sim/sim_object.hh b/sim/sim_object.hh index 6c15fc88f..20da07164 100644 --- a/sim/sim_object.hh +++ b/sim/sim_object.hh @@ -38,7 +38,6 @@ #include #include -#include "sim/param.hh" #include "sim/serialize.hh" /* diff --git a/sim/system.cc b/sim/system.cc index e1e293c90..0e0b83332 100644 --- a/sim/system.cc +++ b/sim/system.cc @@ -28,6 +28,7 @@ #include "cpu/exec_context.hh" #include "targetarch/vtophys.hh" +#include "sim/param.hh" #include "sim/system.hh" using namespace std;