ruby: fix message buffer init order
Review Request #3111 - Created Sept. 14, 2015 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11095:d1f176c26916 --------------------------- ruby: fix message buffer init order The recent changes to make MessageBuffers SimObjects required them to be initialized in a particular order, which could break some protocols. Fix this by calling initNetQueues on the external nodes of each external link in the constructor of Network. This patch also refactors the duplicated code for checking network allocation and setting net queues (which are called by initNetQueues) from the simple and garnet networks to be in Network.
Posted (Sept. 14, 2015, 8:35 a.m.)
Tony, expand the review description and add the problem that you are facing.
-
src/mem/ruby/network/Network.hh (Diff revision 1) -
These functions need not be virtual now.
-
src/mem/slicc/symbols/StateMachine.py (Diff revision 1) -
Why do we need virtual here?
Review request changed
Updated (Sept. 14, 2015, 10:37 a.m.)
Description: |
|
|||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+57 -111) |
Ship It!
