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/simple/base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/simple/base.cc') diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index 97ce3264a..945c40b79 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -40,7 +40,6 @@ * Authors: Steve Reinhardt */ -#include "arch/faults.hh" #include "arch/kernel_stats.hh" #include "arch/stacktrace.hh" #include "arch/tlb.hh" @@ -74,6 +73,7 @@ #include "params/BaseSimpleCPU.hh" #include "sim/byteswap.hh" #include "sim/debug.hh" +#include "sim/faults.hh" #include "sim/full_system.hh" #include "sim/sim_events.hh" #include "sim/sim_object.hh" -- cgit v1.2.3