From f2b46fdb850dca0e2ac3a97343292a7d92ff980e Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 7 Feb 2012 04:43:21 -0800 Subject: Faults: Turn off arch/faults.hh Because there are no longer architecture independent but specialized functions in arch/XXX/faults.hh, code that isn't using the faults from a particular ISA no longer needs to be able to include them through the switching header file arch/faults.hh. By removing that header file (arch/faults.hh), the potential interface between ISA code and non ISA code is narrowed. --- src/cpu/ozone/cpu_impl.hh | 1 - src/cpu/ozone/lsq_unit.hh | 2 +- src/cpu/ozone/lsq_unit_impl.hh | 2 +- src/cpu/ozone/lw_lsq.hh | 2 +- src/cpu/ozone/lw_lsq_impl.hh | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/cpu/ozone') diff --git a/src/cpu/ozone/cpu_impl.hh b/src/cpu/ozone/cpu_impl.hh index f532078fe..65545b6aa 100644 --- a/src/cpu/ozone/cpu_impl.hh +++ b/src/cpu/ozone/cpu_impl.hh @@ -30,7 +30,6 @@ */ #include "arch/alpha/osfpal.hh" -#include "arch/faults.hh" #include "arch/isa_traits.hh" // For MachInst #include "arch/kernel_stats.hh" #include "arch/tlb.hh" diff --git a/src/cpu/ozone/lsq_unit.hh b/src/cpu/ozone/lsq_unit.hh index c812a10a2..8a8e2ccd5 100644 --- a/src/cpu/ozone/lsq_unit.hh +++ b/src/cpu/ozone/lsq_unit.hh @@ -35,13 +35,13 @@ #include #include -#include "arch/faults.hh" #include "arch/types.hh" #include "base/hashmap.hh" #include "config/the_isa.hh" #include "cpu/inst_seq.hh" #include "mem/mem_interface.hh" //#include "mem/page_table.hh" +#include "sim/fault_fwd.hh" #include "sim/sim_object.hh" class PageTable; diff --git a/src/cpu/ozone/lsq_unit_impl.hh b/src/cpu/ozone/lsq_unit_impl.hh index f36b870d8..3ee96585a 100644 --- a/src/cpu/ozone/lsq_unit_impl.hh +++ b/src/cpu/ozone/lsq_unit_impl.hh @@ -28,10 +28,10 @@ * Authors: Kevin Lim */ -#include "arch/faults.hh" #include "base/str.hh" #include "config/the_isa.hh" #include "cpu/ozone/lsq_unit.hh" +#include "sim/fault_fwd.hh" template OzoneLSQ::StoreCompletionEvent::StoreCompletionEvent(int store_idx, diff --git a/src/cpu/ozone/lw_lsq.hh b/src/cpu/ozone/lw_lsq.hh index dd573e5e0..809725c0d 100644 --- a/src/cpu/ozone/lw_lsq.hh +++ b/src/cpu/ozone/lw_lsq.hh @@ -36,7 +36,6 @@ #include #include -#include "arch/faults.hh" #include "arch/types.hh" #include "base/fast_alloc.hh" #include "base/hashmap.hh" @@ -46,6 +45,7 @@ #include "mem/port.hh" //#include "mem/page_table.hh" #include "sim/debug.hh" +#include "sim/fault_fwd.hh" #include "sim/sim_object.hh" class MemObject; diff --git a/src/cpu/ozone/lw_lsq_impl.hh b/src/cpu/ozone/lw_lsq_impl.hh index 811d66567..d80cdcf8c 100644 --- a/src/cpu/ozone/lw_lsq_impl.hh +++ b/src/cpu/ozone/lw_lsq_impl.hh @@ -28,12 +28,12 @@ * Authors: Kevin Lim */ -#include "arch/faults.hh" #include "base/str.hh" #include "config/the_isa.hh" #include "config/use_checker.hh" #include "cpu/checker/cpu.hh" #include "cpu/ozone/lw_lsq.hh" +#include "sim/fault_fwd.hh" template OzoneLWLSQ::WritebackEvent::WritebackEvent(DynInstPtr &_inst, PacketPtr _pkt, -- cgit v1.2.3