ruby: move testAnd* into DataBlock and change Packet* to PacketPtr
Review Request #3160 - Created Oct. 22, 2015 and discarded - Latest diff uploaded
| Information | |
|---|---|
| Brandon Potter | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 11175:4519bd6790ee \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- ruby: move testAnd* into DataBlock and change Packet* to PacketPtr These changes are motivated by a request from Joel Hestness regarding http://reviews.gem5.org/r/3113/. The original request was to move the testAndRead and testAndWrite into DataBlock. The Packet* to PacketPtr change was necessary to satisfy slicc in "RubySlicc_Exports.sm"; it seems that it's not possible to specify pointer parameters in slicc "structure" blocks. Also, the changes to use the typedef are arguably cleaner since it's consistent across all of the files now.
