summaryrefslogtreecommitdiff
path: root/src/kern
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-09-13 19:26:03 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-09-13 19:26:03 -0700
commit6833ca7eedd351596bb1518620af7465f5172fcd (patch)
tree4a67b3d591132dab3e8273fc9dfba606a1720e4a /src/kern
parent2edfcbbaee87c1a28351fc0dcd81d52d0d9102a4 (diff)
downloadgem5-6833ca7eedd351596bb1518620af7465f5172fcd.tar.xz
Faults: Pass the StaticInst involved, if any, to a Fault's invoke method.
Also move the "Fault" reference counted pointer type into a separate file, sim/fault.hh. It would be better to name this less similarly to sim/faults.hh to reduce confusion, but fault.hh matches the name of the type. We could change Fault to FaultPtr to match other pointer types, and then changing the name of the file would make more sense.
Diffstat (limited to 'src/kern')
-rw-r--r--src/kern/kernel_stats.hh1
-rw-r--r--src/kern/tru64/tru64.hh1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/kern/kernel_stats.hh b/src/kern/kernel_stats.hh
index 85a47ec00..cd3c12d47 100644
--- a/src/kern/kernel_stats.hh
+++ b/src/kern/kernel_stats.hh
@@ -35,6 +35,7 @@
#include <string>
#include "cpu/static_inst.hh"
+#include "sim/stats.hh"
#include "sim/serialize.hh"
class BaseCPU;
diff --git a/src/kern/tru64/tru64.hh b/src/kern/tru64/tru64.hh
index d0c11a934..d3348fe89 100644
--- a/src/kern/tru64/tru64.hh
+++ b/src/kern/tru64/tru64.hh
@@ -34,6 +34,7 @@
#include "config/full_system.hh"
#include "kern/operatingsystem.hh"
+#include "sim/byteswap.hh"
#if FULL_SYSTEM