diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-04-22 13:20:31 -0400 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2013-04-22 13:20:31 -0400 |
commit | aa08069b3fb9a564df755ec558fd64ba076b0ef3 (patch) | |
tree | 663e54fb3287ac7522457381e49190d1da36a823 /src/dev/arm/hdlcd.cc | |
parent | c9e4678c16164ca12de951ea6faffc9ab9600b0b (diff) | |
download | gem5-aa08069b3fb9a564df755ec558fd64ba076b0ef3.tar.xz |
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.
Diffstat (limited to 'src/dev/arm/hdlcd.cc')
0 files changed, 0 insertions, 0 deletions