Review Board 2.0.15


CPU: Set a default value when readBytes faults.

Review Request #216 - Created Aug. 22, 2010 and submitted - Latest diff uploaded

Information
Gabe Black
gem5
Reviewers
Default
CPU: Set a default value when readBytes faults.

This was being done in read(), but if readBytes was called directly it
wouldn't happen. Also, instead of setting the memory blob being read to -1
which would (I believe) require using memset with -1 as a parameter, this now
uses bzero. It's hoped that it's more specialized behavior will make it
slightly faster.