summaryrefslogtreecommitdiff
path: root/src/sim/core.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-08-23 11:18:39 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2010-08-23 11:18:39 -0500
commit1d1837ee9855f06af963f96948c33623bf905e7d (patch)
tree3fda014fefbb62f93917dd80bcaa10367aaed60a /src/sim/core.hh
parentac575a9d8242d4ff8e40ac25f2fd5862ef551ad7 (diff)
downloadgem5-1d1837ee9855f06af963f96948c33623bf905e7d.tar.xz
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.
Diffstat (limited to 'src/sim/core.hh')
0 files changed, 0 insertions, 0 deletions