summaryrefslogtreecommitdiff
path: root/cpu/exec_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/exec_context.hh')
-rw-r--r--cpu/exec_context.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/exec_context.hh b/cpu/exec_context.hh
index e008e3e13..274a3778b 100644
--- a/cpu/exec_context.hh
+++ b/cpu/exec_context.hh
@@ -46,6 +46,10 @@ class MemoryController;
#include "kern/tru64/kernel_stats.hh"
#include "sim/system.hh"
+#ifdef FS_MEASURE
+#include "sim/sw_context.hh"
+#endif
+
#else // !FULL_SYSTEM
#include "sim/prog.hh"
@@ -122,6 +126,10 @@ class ExecContext
MemoryController *memCtrl;
PhysicalMemory *physmem;
+#ifdef FS_MEASURE
+ SWContext *swCtx;
+#endif
+
#else
Process *process;