Searched refs:smbase (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/arch/x86/kvm/ |
D | emulate.c | 2342 #define GET_SMSTATE(type, smbase, offset) \ argument 2345 int r = ctxt->ops->read_phys(ctxt, smbase + offset, &__val, \ 2364 static int rsm_load_seg_32(struct x86_emulate_ctxt *ctxt, u64 smbase, int n) in rsm_load_seg_32() argument 2370 selector = GET_SMSTATE(u32, smbase, 0x7fa8 + n * 4); in rsm_load_seg_32() 2377 set_desc_base(&desc, GET_SMSTATE(u32, smbase, offset + 8)); in rsm_load_seg_32() 2378 set_desc_limit(&desc, GET_SMSTATE(u32, smbase, offset + 4)); in rsm_load_seg_32() 2379 rsm_set_desc_flags(&desc, GET_SMSTATE(u32, smbase, offset)); in rsm_load_seg_32() 2384 static int rsm_load_seg_64(struct x86_emulate_ctxt *ctxt, u64 smbase, int n) in rsm_load_seg_64() argument 2393 selector = GET_SMSTATE(u16, smbase, offset); in rsm_load_seg_64() 2394 rsm_set_desc_flags(&desc, GET_SMSTATE(u16, smbase, offset + 2) << 8); in rsm_load_seg_64() [all …]
|
D | trace.h | 977 TP_PROTO(unsigned int vcpu_id, u64 smbase, bool entering), 978 TP_ARGS(vcpu_id, smbase, entering), 982 __field( u64, smbase ) 988 __entry->smbase = smbase; 995 __entry->smbase)
|
D | x86.c | 2408 vcpu->arch.smbase = data; in kvm_set_msr_common() 2696 msr_info->data = vcpu->arch.smbase; in kvm_get_msr_common() 5665 return vcpu->arch.smbase; in emulator_get_smbase() 5668 static void emulator_set_smbase(struct x86_emulate_ctxt *ctxt, u64 smbase) in emulator_set_smbase() argument 5672 vcpu->arch.smbase = smbase; in emulator_set_smbase() 5730 static int emulator_pre_leave_smm(struct x86_emulate_ctxt *ctxt, u64 smbase) in emulator_pre_leave_smm() argument 5732 return kvm_x86_ops->pre_leave_smm(emul_to_vcpu(ctxt), smbase); in emulator_pre_leave_smm() 6007 trace_kvm_enter_smm(vcpu->vcpu_id, vcpu->arch.smbase, false); in kvm_smm_changed() 7157 put_smstate(u32, buf, 0x7ef8, vcpu->arch.smbase); in enter_smm_save_state_32() 7183 put_smstate(u32, buf, 0x7f00, vcpu->arch.smbase); in enter_smm_save_state_64() [all …]
|
D | svm.c | 6176 static int svm_pre_leave_smm(struct kvm_vcpu *vcpu, u64 smbase) in svm_pre_leave_smm() argument 6187 ret = kvm_vcpu_read_guest(vcpu, smbase + 0xfed8, &svm_state_save, in svm_pre_leave_smm()
|
D | vmx.c | 13875 static int vmx_pre_leave_smm(struct kvm_vcpu *vcpu, u64 smbase) in vmx_pre_leave_smm() argument
|
/Linux-v4.19/arch/x86/include/asm/ |
D | kvm_emulate.h | 211 void (*set_smbase)(struct x86_emulate_ctxt *ctxt, u64 smbase); 229 int (*pre_leave_smm)(struct x86_emulate_ctxt *ctxt, u64 smbase);
|
D | kvm_host.h | 524 u64 smbase; member 1128 int (*pre_leave_smm)(struct kvm_vcpu *vcpu, u64 smbase);
|