diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-05-14 23:58:23 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-05-14 23:58:23 -0400 |
commit | 0a053c7919cb13d216d85784577cbbd4539cd291 (patch) | |
tree | 785eb25f80e0523531bb6db2558435e3105c427d /arch/sparc/faults.cc | |
parent | 0be3d001c9089b78e334dca6d0c7f1a178cf202f (diff) | |
parent | 149b724b86ae6cc40d8794123e8359209080f5a9 (diff) | |
download | gem5-0a053c7919cb13d216d85784577cbbd4539cd291.tar.xz |
Merge m5.eecs.umich.edu:/bk/newmem
into ewok.(none):/home/gblack/m5/newmem
--HG--
extra : convert_revision : 2db5529a9fbe8c62e57cad05f093c915f9713c67
Diffstat (limited to 'arch/sparc/faults.cc')
-rw-r--r-- | arch/sparc/faults.cc | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/sparc/faults.cc b/arch/sparc/faults.cc index e83bba800..67a89ab0e 100644 --- a/arch/sparc/faults.cc +++ b/arch/sparc/faults.cc @@ -215,11 +215,6 @@ TrapType TrapInstruction::_baseTrapType = 0x100; FaultPriority TrapInstruction::_priority = 16; FaultStat TrapInstruction::_count; -FaultName UnimpFault::_name = "Unimplemented Simulator feature"; -TrapType UnimpFault::_trapType = 0x000; -FaultPriority UnimpFault::_priority = 0; -FaultStat UnimpFault::_count; - #if FULL_SYSTEM void SparcFault::invoke(ExecContext * xc) @@ -245,12 +240,15 @@ void SparcFault::invoke(ExecContext * xc) xc->regs.npc = xc->regs.pc + sizeof(MachInst);*/ } -void UnimpFault::invoke(ExecContext * xc) +#endif + +#if !FULL_SYSTEM + +void TrapInstruction::invoke(ExecContext * xc) { - panic("Unimpfault: %s\n", panicStr.c_str()); + xc->syscall(syscall_num); } - #endif } // namespace SparcISA |