diff options
author | Stan Czerniawski <stan.czerniawski@arm.com> | 2014-03-23 11:11:39 -0400 |
---|---|---|
committer | Stan Czerniawski <stan.czerniawski@arm.com> | 2014-03-23 11:11:39 -0400 |
commit | e18d0e04a2d44316bc9c9e09b74bcda5562e64cc (patch) | |
tree | cb788f094a70aecc6982708d2f5543bff45beeeb /src/mem/comm_monitor.cc | |
parent | 0c001e729a2d63ee205b384848a7e95ffae492f7 (diff) | |
download | gem5-e18d0e04a2d44316bc9c9e09b74bcda5562e64cc.tar.xz |
cpu: Add basic check to TrafficGen initial state
Prevent incomplete configuration of TrafficGen class from causing
segmentation faults. If an 'INIT' line is not present in the
configuration file then the currState variable will remain
uninitialized which may result in a crash.
Diffstat (limited to 'src/mem/comm_monitor.cc')
0 files changed, 0 insertions, 0 deletions