Review Board 2.0.15


ISA: Use readBytes/writeBytes for all instruction level memory operations.

Review Request #750 - Created June 20, 2011 and submitted

Information
Gabe Black
gem5
Reviewers
Default
ali, gblack, nate, stever
ISA: Use readBytes/writeBytes for all instruction level memory operations.

   
Ship it!
Posted (July 2, 2011, 2:17 a.m.)
Thanks!  This seems less convoluted.  As you mentioned before, since the x86 versions have different type signatures you could throw all the helper functions in a single file (though if you do that I would definitely make the x86 getMem() more symmetric by making it a void function and returning the data via a reference param), but unless/until the unlikely event that we have another ISA that needs those helpers this seems fine to me.