diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-03-07 04:31:38 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-03-07 04:31:38 -0500 |
commit | b5111285078cf790a2330c725b63fbc1f791db14 (patch) | |
tree | fa23e2984b8ddc29c5304362550ac58802e9ac03 /arch/sparc/isa/base.isa | |
parent | b7ebc2d97f54e1f1cb6a2a7d33daa3d4fe6e0107 (diff) | |
download | gem5-b5111285078cf790a2330c725b63fbc1f791db14.tar.xz |
Some clean up work with faults.
arch/alpha/faults.cc:
Renamed the _stat stat to a more descriptive _count, got rid of some old commented out code, and moved common fault handling code, ie recording that the fault happend and that it wasn't mispeculated, into the FaultBase class.
arch/alpha/faults.hh:
Renamed the _stat stat to the more descriptive _count, and renamed the appropriate accessor functions.
kern/kernel_stats.cc:
kern/kernel_stats.hh:
The fault statistics are now handled by the fault classes themselves.
sim/faults.cc:
The default implementation of the "invoke" method now does what all faults should do first, ie record that the fault happened, and make sure the fault isn't being executed on a mispeculated execution path.
sim/faults.hh:
There is now a default implementation of invoke, and the stat function is taken care of in the architecture specific fault classes.
--HG--
extra : convert_revision : f6656fbea991df9addf85cad740ac37b1036b71a
Diffstat (limited to 'arch/sparc/isa/base.isa')
0 files changed, 0 insertions, 0 deletions