gem5/kern
Gabe Black b511128507 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
2006-03-07 04:31:38 -05:00
..
linux move alpha specific code into arch/alpha 2006-03-04 20:45:01 -05:00
tru64 Merge zizzer:/bk/m5 2006-03-04 20:45:13 -05:00
kernel_stats.cc Some clean up work with faults. 2006-03-07 04:31:38 -05:00
kernel_stats.hh Some clean up work with faults. 2006-03-07 04:31:38 -05:00
system_events.cc Changes to put all the misc regs within the misc reg file. This includes the FPCR, Uniq, lock flag, lock addr, and IPRs. 2006-02-27 11:44:35 -05:00
system_events.hh Add functions to System object to set up function-based events, 2005-09-24 14:20:29 -04:00