summaryrefslogtreecommitdiff
path: root/src/cpu/cpuevent.cc
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2014-03-03 14:34:33 +0100
committerAndreas Sandberg <andreas@sandberg.pp.se>2014-03-03 14:34:33 +0100
commite7d230ede0deb239271a25d227a792ae615daee2 (patch)
treec769d45dad82108ffd2b744e8912dee524ea3b8b /src/cpu/cpuevent.cc
parent739cc0128b666694274b018f303aba452107f8f6 (diff)
downloadgem5-e7d230ede0deb239271a25d227a792ae615daee2.tar.xz
kvm: x86: Always assume segments to be usable
When transferring segment registers into kvm, we need to find the value of the unusable bit. We used to assume that this could be inferred from the selector since segments are generally unusable if their selector is 0. This assumption breaks in some weird corner cases. Instead, we just assume that segments are always usable. This is what qemu does so it should work.
Diffstat (limited to 'src/cpu/cpuevent.cc')
0 files changed, 0 insertions, 0 deletions