diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-02-16 14:55:15 -0500 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-02-16 14:55:15 -0500 |
commit | d6a330ebb949b6cd63195d44e5a4304e2fd3378e (patch) | |
tree | 012eafbc16586ed3e4c456b56d7d755fb7d7f4ec /arch/alpha/ev5.cc | |
parent | c7624c26e71c1edc73a076efe472d253b199c3cc (diff) | |
download | gem5-d6a330ebb949b6cd63195d44e5a4304e2fd3378e.tar.xz |
Remove fake fault.
Switch fault pointers to const pointers to prevent them from accidentally being changed.
Fix some coding style.
arch/alpha/ev5.cc:
cpu/o3/commit_impl.hh:
kern/kernel_stats.hh:
Remove fake fault.
arch/alpha/faults.cc:
Remove fake fault, fix to have normal m5 line length limit, and change pointers to be const pointers so that the default faults aren't changed accidentally.
arch/alpha/faults.hh:
Fix to have normal m5 line length limit, change pointers to const pointers.
sim/faults.cc:
sim/faults.hh:
Remove fake fault, change pointers to const pointers.
--HG--
extra : convert_revision : 01d4600e0d4bdc1d177b32edebc78f86a1bbfe2e
Diffstat (limited to 'arch/alpha/ev5.cc')
-rw-r--r-- | arch/alpha/ev5.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/alpha/ev5.cc b/arch/alpha/ev5.cc index a48609729..72f48bfb2 100644 --- a/arch/alpha/ev5.cc +++ b/arch/alpha/ev5.cc @@ -91,7 +91,6 @@ AlphaISA::fault_addr(Fault * fault) if(fault == NoFault) return 0x0000; else if(fault == MachineCheckFault) return 0x0401; else if(fault == AlignmentFault) return 0x0301; - else if(fault == FakeMemFault) return 0x0000; //Deal with the alpha specific faults return ((AlphaFault*)fault)->vect; }; |