summaryrefslogtreecommitdiff
path: root/src/cpu/kvm/x86_cpu.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/kvm/x86_cpu.hh')
-rw-r--r--src/cpu/kvm/x86_cpu.hh9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cpu/kvm/x86_cpu.hh b/src/cpu/kvm/x86_cpu.hh
index 7dacdb03f..bfd090ff7 100644
--- a/src/cpu/kvm/x86_cpu.hh
+++ b/src/cpu/kvm/x86_cpu.hh
@@ -209,13 +209,14 @@ class X86KvmCPU : public BaseKvmCPU
* @{
*/
/** Update integer registers */
- void updateThreadContextRegs();
+ void updateThreadContextRegs(const struct kvm_regs &regs,
+ const struct kvm_sregs &sregs);
/** Update control registers (CRx, segments, etc.) */
- void updateThreadContextSRegs();
+ void updateThreadContextSRegs(const struct kvm_sregs &sregs);
/** Update FPU and SIMD registers using the legacy API */
- void updateThreadContextFPU();
+ void updateThreadContextFPU(const struct kvm_fpu &fpu);
/** Update FPU and SIMD registers using the XSave API */
- void updateThreadContextXSave();
+ void updateThreadContextXSave(const struct kvm_xsave &kxsave);
/** Update MSR registers */
void updateThreadContextMSRs();
/** @} */