Home
last modified time | relevance | path

Searched refs:gdtr (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/arch/x86/hyperv/
Divm.c296 struct desc_ptr gdtr; in hv_snp_boot_ap() local
304 native_store_gdt(&gdtr); in hv_snp_boot_ap()
306 vmsa->gdtr.base = gdtr.address; in hv_snp_boot_ap()
307 vmsa->gdtr.limit = gdtr.size; in hv_snp_boot_ap()
310 hv_populate_vmcb_seg(vmsa->es, vmsa->gdtr.base); in hv_snp_boot_ap()
313 hv_populate_vmcb_seg(vmsa->cs, vmsa->gdtr.base); in hv_snp_boot_ap()
316 hv_populate_vmcb_seg(vmsa->ss, vmsa->gdtr.base); in hv_snp_boot_ap()
319 hv_populate_vmcb_seg(vmsa->ds, vmsa->gdtr.base); in hv_snp_boot_ap()
Dhv_vtl.c117 input->vp_context.gdtr.limit = gdt_ptr.size; in hv_vtl_bringup_vcpu()
118 input->vp_context.gdtr.base = gdt_ptr.address; in hv_vtl_bringup_vcpu()
/linux-6.6.21/arch/x86/kvm/
Dsmm.c39 CHECK_SMRAM32_OFFSET(gdtr, 0xFF6C); in check_smram_offsets()
67 CHECK_SMRAM64_OFFSET(gdtr, 0xFE60); in check_smram_offsets()
207 smram->gdtr.base = dt.address; in enter_smm_save_state_32()
208 smram->gdtr.limit = dt.size; in enter_smm_save_state_32()
267 smram->gdtr.limit = dt.size; in enter_smm_save_state_64()
268 smram->gdtr.base = dt.address; in enter_smm_save_state_64()
488 dt.address = smstate->gdtr.base; in rsm_load_state_32()
489 dt.size = smstate->gdtr.limit; in rsm_load_state_32()
550 dt.size = smstate->gdtr.limit; in rsm_load_state_64()
551 dt.address = smstate->gdtr.base; in rsm_load_state_64()
Dsmm.h44 struct kvm_smm_seg_state_32 gdtr; /* GDTR has only base and limit */ member
86 struct kvm_smm_seg_state_64 gdtr; /* GDTR has only base and limit*/ member
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c85 vmcb_set_seg(&save->gdtr, 0, get_gdt().address, get_gdt().size, 0); in generic_svm_setup()
/linux-6.6.21/arch/x86/include/asm/
Dsvm.h309 struct vmcb_seg gdtr; member
361 struct vmcb_seg gdtr; member
Dhyperv-tlfs.h768 struct hv_x64_table_register gdtr; member
/linux-6.6.21/arch/x86/kvm/svm/
Dnested.c561 vmcb02->save.gdtr = vmcb12->save.gdtr; in nested_vmcb02_prepare_save()
936 to_save->gdtr = from_save->gdtr; in svm_copy_vmrun_state()
999 vmcb12->save.gdtr = vmcb02->save.gdtr; in nested_svm_vmexit()
Dsvm.c1329 save->gdtr.base = 0; in init_vmcb()
1330 save->gdtr.limit = 0xffff; in init_vmcb()
1833 dt->size = svm->vmcb->save.gdtr.limit; in svm_get_gdt()
1834 dt->address = svm->vmcb->save.gdtr.base; in svm_get_gdt()
1841 svm->vmcb->save.gdtr.limit = dt->size; in svm_set_gdt()
1842 svm->vmcb->save.gdtr.base = dt->address ; in svm_set_gdt()
3408 save->gdtr.selector, save->gdtr.attrib, in dump_vmcb()
3409 save->gdtr.limit, save->gdtr.base); in dump_vmcb()
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dsvm.h202 struct vmcb_seg gdtr; member
/linux-6.6.21/arch/x86/kernel/
Dsev.c1040 vmsa->gdtr.limit = AP_INIT_GDTR_LIMIT; in wakeup_cpu_via_vmgexit()