summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/faults.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sim/faults.cc b/src/sim/faults.cc
index 7aa3ec4a1..b09bbc177 100644
--- a/src/sim/faults.cc
+++ b/src/sim/faults.cc
@@ -56,7 +56,7 @@ void UnimpFault::invoke(ThreadContext * tc)
{
panic("Unimpfault: %s\n", panicStr.c_str());
}
-
+#if !FULL_SYSTEM
void PageTableFault::invoke(ThreadContext *tc)
{
Process *p = tc->getProcessPtr();
@@ -78,3 +78,4 @@ void PageTableFault::invoke(ThreadContext *tc)
panic("Page table fault when accessing virtual address %#x\n", vaddr);
}
}
+#endif