Review Board 2.0.15


Ruby: pass Packet->Req->contextId() to Ruby.

Review Request #623 - Created March 31, 2011 and submitted

Information
Lisa Hsu
gem5
Reviewers
Default
ali, gblack, nate, stever
Ruby: pass Packet->Req->contextId() to Ruby.
It is useful for Ruby to understand from whence request packets came.
This has all request packets going into Ruby pass the contextId value, if
it exists.  This supplants the old libruby proc_id value passed around in
all the Messages, so I've also removed the unused unsigned proc_id; member
generated by SLICC for all Message types.

   
Ship it!
Posted (March 31, 2011, 5:27 a.m.)
Is context Id being used any where?
  1. Not in any of the stock-provided protocols, but in some of our internal protocols, yes.  This would also enable anyone to do context-based cache management, if they so desired, though it's not in the tree at all.  This is just to provide the functionality, now people can use it however they want!
Ship it!
Posted (March 31, 2011, 8:53 a.m.)