summaryrefslogtreecommitdiff
path: root/src/arch/x86/tlb.hh
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@gmail.com>2014-02-02 16:37:35 +0100
committerNikos Nikoleris <nikos.nikoleris@gmail.com>2014-02-02 16:37:35 +0100
commitc6279f2d19cf3d8b625ffcd54b1d0183c1986fe1 (patch)
tree645533efc82d7e79c3b75f9326a77a8335d28feb /src/arch/x86/tlb.hh
parent35266761659ce3efbc1a7e7f1289d90aeddb7db8 (diff)
downloadgem5-c6279f2d19cf3d8b625ffcd54b1d0183c1986fe1.tar.xz
x86, kvm: Fix bug in the RFlags get and set functions
The getRFlags and setRFlags utility functions were not updated correctly when condition registers were separated into their own register class. This lead to incorrect state transfer in calls from kvm into the simulator (e.g., m5 readfile ended up in an infinite loop) and when switching CPUs. This patch makes these utility functions use getCCReg and setCCReg instead of getIntReg and setIntReg which read and write the integer registers. Reviewed-by: Andreas Sandberg <andreas@sandberg.pp.se>
Diffstat (limited to 'src/arch/x86/tlb.hh')
0 files changed, 0 insertions, 0 deletions