diff options
Diffstat (limited to 'src/sim/faults.cc')
-rw-r--r-- | src/sim/faults.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sim/faults.cc b/src/sim/faults.cc index fe62874d7..6d6a8b5f6 100644 --- a/src/sim/faults.cc +++ b/src/sim/faults.cc @@ -56,8 +56,9 @@ void UnimpFault::invoke(ThreadContext * tc) { panic("Unimpfault: %s\n", panicStr.c_str()); } + #if !FULL_SYSTEM -void PageTableFault::invoke(ThreadContext *tc) +void GenericPageTableFault::invoke(ThreadContext *tc) { Process *p = tc->getProcessPtr(); @@ -65,4 +66,9 @@ void PageTableFault::invoke(ThreadContext *tc) panic("Page table fault when accessing virtual address %#x\n", vaddr); } + +void GenericAlignmentFault::invoke(ThreadContext *tc) +{ + panic("Alignment fault when accessing virtual address %#x\n", vaddr); +} #endif |