summaryrefslogtreecommitdiff
path: root/src/cpu/static_inst_fwd.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-10-16 18:12:15 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-10-16 18:12:15 +0200
commitcc42e87b85cf651b21e77d36fbd7351b23cb86d1 (patch)
treec308c14cd87ccba5e1e9e27e23b2c49b167d5759 /src/cpu/static_inst_fwd.hh
parent10e64501206b72901c266855fde2909523b875e0 (diff)
downloadgem5-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