summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorSooraj Puthoor <puthoorsooraj@gmail.com>2016-11-19 12:39:04 -0500
committerSooraj Puthoor <puthoorsooraj@gmail.com>2016-11-19 12:39:04 -0500
commit29d38e75762e195161786be60c695fba1b77c7de (patch)
tree5ffb2efe785f190d9f41a805a11c84588a4786d4 /src/mem/ruby
parentae55cba281bb37390335f5ad1e5f0f02820a75f8 (diff)
downloadgem5-29d38e75762e195161786be60c695fba1b77c7de.tar.xz
ruby: init MessageSizeType of SequencerMsg to Request_Control
SequencerMsg is autogenerated by slicc scripts and the MessageSizeType is initialized to the max enume value by default. The DMASequencer pushes this message to the mandatory queue and since the MessageSizeType is unitialized, string_to_MessageSizeType() function used by traces to print the message fails with a panic. This patch avoids this problem by initializing MessageSizeType of SequencerMsg to Request_Control.
Diffstat (limited to 'src/mem/ruby')
0 files changed, 0 insertions, 0 deletions