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.
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "arch/faults.hh"
|
||||
#include "arch/isa_traits.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/inorder/inorder_dyn_inst.hh"
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "arch/faults.hh"
|
||||
#include "base/bigint.hh"
|
||||
#include "base/cp_annotate.hh"
|
||||
#include "base/cprintf.hh"
|
||||
@@ -45,6 +44,7 @@
|
||||
#include "cpu/exetrace.hh"
|
||||
#include "debug/InOrderDynInst.hh"
|
||||
#include "mem/request.hh"
|
||||
#include "sim/fault_fwd.hh"
|
||||
#include "sim/full_system.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#include <list>
|
||||
#include <string>
|
||||
|
||||
#include "arch/faults.hh"
|
||||
#include "arch/isa_traits.hh"
|
||||
#include "arch/mt.hh"
|
||||
#include "arch/types.hh"
|
||||
@@ -58,6 +57,7 @@
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/InOrderDynInst.hh"
|
||||
#include "mem/packet.hh"
|
||||
#include "sim/fault_fwd.hh"
|
||||
#include "sim/system.hh"
|
||||
|
||||
#if THE_ISA == ALPHA_ISA
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#ifndef __CPU_INORDER_THREAD_STATE_HH__
|
||||
#define __CPU_INORDER_THREAD_STATE_HH__
|
||||
|
||||
#include "arch/faults.hh"
|
||||
#include "arch/isa_traits.hh"
|
||||
#include "base/callback.hh"
|
||||
#include "base/output.hh"
|
||||
|
||||
Reference in New Issue
Block a user