Searched refs:smstate (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.1/arch/x86/kvm/ |
| D | emulate.c | 2362 static int rsm_load_seg_32(struct x86_emulate_ctxt *ctxt, const char *smstate, in rsm_load_seg_32() argument 2369 selector = GET_SMSTATE(u32, smstate, 0x7fa8 + n * 4); in rsm_load_seg_32() 2376 set_desc_base(&desc, GET_SMSTATE(u32, smstate, offset + 8)); in rsm_load_seg_32() 2377 set_desc_limit(&desc, GET_SMSTATE(u32, smstate, offset + 4)); in rsm_load_seg_32() 2378 rsm_set_desc_flags(&desc, GET_SMSTATE(u32, smstate, offset)); in rsm_load_seg_32() 2384 static int rsm_load_seg_64(struct x86_emulate_ctxt *ctxt, const char *smstate, in rsm_load_seg_64() argument 2394 selector = GET_SMSTATE(u16, smstate, offset); in rsm_load_seg_64() 2395 rsm_set_desc_flags(&desc, GET_SMSTATE(u16, smstate, offset + 2) << 8); in rsm_load_seg_64() 2396 set_desc_limit(&desc, GET_SMSTATE(u32, smstate, offset + 4)); in rsm_load_seg_64() 2397 set_desc_base(&desc, GET_SMSTATE(u32, smstate, offset + 8)); in rsm_load_seg_64() [all …]
|
| D | kvm_emulate.h | 238 int (*leave_smm)(struct x86_emulate_ctxt *ctxt, const char *smstate);
|
| D | x86.c | 8189 const char *smstate) in emulator_leave_smm() argument 8191 return static_call(kvm_x86_leave_smm)(emul_to_vcpu(ctxt), smstate); in emulator_leave_smm()
|
| /Linux-v6.1/arch/x86/kvm/svm/ |
| D | svm.c | 4388 static int svm_enter_smm(struct kvm_vcpu *vcpu, char *smstate) in svm_enter_smm() argument 4398 put_smstate(u64, smstate, 0x7ed8, 1); in svm_enter_smm() 4400 put_smstate(u64, smstate, 0x7ee0, svm->nested.vmcb12_gpa); in svm_enter_smm() 4435 static int svm_leave_smm(struct kvm_vcpu *vcpu, const char *smstate) in svm_leave_smm() argument 4447 if (!GET_SMSTATE(u64, smstate, 0x7ed8)) in svm_leave_smm() 4453 saved_efer = GET_SMSTATE(u64, smstate, 0x7ed0); in svm_leave_smm() 4457 vmcb12_gpa = GET_SMSTATE(u64, smstate, 0x7ee0); in svm_leave_smm()
|
| /Linux-v6.1/arch/x86/include/asm/ |
| D | kvm_host.h | 1616 int (*enter_smm)(struct kvm_vcpu *vcpu, char *smstate); 1617 int (*leave_smm)(struct kvm_vcpu *vcpu, const char *smstate);
|
| /Linux-v6.1/arch/x86/kvm/vmx/ |
| D | vmx.c | 7917 static int vmx_enter_smm(struct kvm_vcpu *vcpu, char *smstate) in vmx_enter_smm() argument 7938 static int vmx_leave_smm(struct kvm_vcpu *vcpu, const char *smstate) in vmx_leave_smm() argument
|