diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-10-16 18:12:15 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-10-16 18:12:15 +0200 |
commit | cc42e87b85cf651b21e77d36fbd7351b23cb86d1 (patch) | |
tree | c308c14cd87ccba5e1e9e27e23b2c49b167d5759 /src/cpu/static_inst_fwd.hh | |
parent | 10e64501206b72901c266855fde2909523b875e0 (diff) | |
download | gem5-cc42e87b85cf651b21e77d36fbd7351b23cb86d1.tar.xz |
kvm: Fix latency calculation of IPR accesses
When handling IPR accesses in doMMIOAccess, the KVM CPU used
clockEdge() to convert between cycles and ticks. This is incorrect
since doMMIOAccess is supposed to return a latency in ticks rather
than when the access is done. This changeset fixes this issue by
returning clockPeriod() * ipr_delay instead.
Diffstat (limited to 'src/cpu/static_inst_fwd.hh')
0 files changed, 0 insertions, 0 deletions