Review Board 2.0.15


sim: Add helper functions that add PCEvents with custom arguments

Review Request #1703 - Created Feb. 13, 2013 and submitted - Latest diff uploaded

Information
Ali Saidi
gem5
default
Reviewers
Default
Changeset 9534:f957d4fa0e41
---------------------------
sim: Add helper functions that add PCEvents with custom arguments

This changeset adds support for forwarding arguments to the PC
event constructors to following methods:

addKernelFuncEvent
addFuncEvent

Additionally, this changeset adds the following helper method to the
System base class:

addFuncEventOrPanic - Hook a PCEvent to a symbol, panic on failure.

addKernelFuncEventOrPanic - Hook a PCEvent to a kernel symbol, panic
                            on failure.


System implementations have been updated to use the new functionality
where appropriate.