summaryrefslogtreecommitdiff
path: root/src/mem/AbstractMemory.py
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2014-03-16 17:30:24 +0100
committerAndreas Sandberg <andreas@sandberg.pp.se>2014-03-16 17:30:24 +0100
commit5db547bca46f23aa5cf25aa5d38efae9ef1eabc2 (patch)
tree01db21e126164a21473bc5e4aecca88520562ca3 /src/mem/AbstractMemory.py
parentf791e7b313c6f5c2b30f96c35f675d523def8a3a (diff)
downloadgem5-5db547bca46f23aa5cf25aa5d38efae9ef1eabc2.tar.xz
kvm: x86: Adjust PC to remove the CS segment base address
gem5 seems to store the PC as RIP+CS_BASE. This is not what KVM expects, so we need to subtract CS_BASE prior to transferring the PC into KVM. This changeset adds the necessary PC manipulation and refactors thread context updates slightly to avoid reading registers multiple times from KVM. --HG-- extra : rebase_source : 3f0569dca06a1fcd8694925f75c8918d954ada44
Diffstat (limited to 'src/mem/AbstractMemory.py')
0 files changed, 0 insertions, 0 deletions