summaryrefslogtreecommitdiff
path: root/ext/dramsim2
diff options
context:
space:
mode:
authorStan Czerniawski <stan.czerniawski@arm.com>2014-03-23 11:11:39 -0400
committerStan Czerniawski <stan.czerniawski@arm.com>2014-03-23 11:11:39 -0400
commite18d0e04a2d44316bc9c9e09b74bcda5562e64cc (patch)
treecb788f094a70aecc6982708d2f5543bff45beeeb /ext/dramsim2
parent0c001e729a2d63ee205b384848a7e95ffae492f7 (diff)
downloadgem5-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 'ext/dramsim2')
0 files changed, 0 insertions, 0 deletions