diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2014-03-16 17:30:24 +0100 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2014-03-16 17:30:24 +0100 |
commit | 5db547bca46f23aa5cf25aa5d38efae9ef1eabc2 (patch) | |
tree | 01db21e126164a21473bc5e4aecca88520562ca3 /src/mem/AbstractMemory.py | |
parent | f791e7b313c6f5c2b30f96c35f675d523def8a3a (diff) | |
download | gem5-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