ruby: re-added the addressToInt slicc interface function
Review Request #2779 - Created May 11, 2015 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10836:639151f54640 --------------------------- ruby: re-added the addressToInt slicc interface function This helper function is very useful converting address offsets to integers that can be used for protocol specific destination mapping.
Posted (May 11, 2015, 8:48 p.m.)
This patch is incorrect on a couple of counts. We are not in 32-bit world. Secondly, you should expose the getAddress() function as we expose functions related to other classes.
Assuming you add the assert in the comment above, it looks good to me.
