commit | cc42e87b85cf651b21e77d36fbd7351b23cb86d1 | [log] [tgz] |
---|---|---|
author | Andreas Sandberg <andreas@sandberg.pp.se> | Wed Oct 16 18:12:15 2013 +0200 |
committer | Andreas Sandberg <andreas@sandberg.pp.se> | Wed Oct 16 18:12:15 2013 +0200 |
tree | c308c14cd87ccba5e1e9e27e23b2c49b167d5759 | |
parent | 10e64501206b72901c266855fde2909523b875e0 [diff] |
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.