Home
last modified time | relevance | path

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

/linux/arch/x86/hyperv/
H A Divm.c297 struct desc_ptr gdtr; in hv_snp_boot_ap() local
305 native_store_gdt(&gdtr); in hv_snp_boot_ap()
307 vmsa->gdtr.base = gdtr.address; in hv_snp_boot_ap()
308 vmsa->gdtr.limit = gdtr.size; in hv_snp_boot_ap()
311 hv_populate_vmcb_seg(vmsa->es, vmsa->gdtr.base); in hv_snp_boot_ap()
314 hv_populate_vmcb_seg(vmsa->cs, vmsa->gdtr.base); in hv_snp_boot_ap()
317 hv_populate_vmcb_seg(vmsa->ss, vmsa->gdtr.base); in hv_snp_boot_ap()
320 hv_populate_vmcb_seg(vmsa->ds, vmsa->gdtr.base); in hv_snp_boot_ap()
H A Dhv_vtl.c127 input->vp_context.gdtr.limit = gdt_ptr.size; in hv_vtl_bringup_vcpu()
128 input->vp_context.gdtr.base = gdt_ptr.address; in hv_vtl_bringup_vcpu()
/linux/arch/x86/kvm/
H A Dsmm.c39 CHECK_SMRAM32_OFFSET(gdtr, 0xFF6C); in check_smram_offsets()
67 CHECK_SMRAM64_OFFSET(gdtr, 0xFE60); in check_smram_offsets()
204 smram->gdtr.base = dt.address; in enter_smm_save_state_32()
205 smram->gdtr.limit = dt.size; in enter_smm_save_state_32()
260 smram->gdtr.limit = dt.size; in enter_smm_save_state_64()
261 smram->gdtr.base = dt.address; in enter_smm_save_state_64()
480 dt.address = smstate->gdtr.base; in rsm_load_state_32()
481 dt.size = smstate->gdtr.limit; in rsm_load_state_32()
542 dt.size = smstate->gdtr.limit; in rsm_load_state_64()
543 dt.address = smstate->gdtr.base; in rsm_load_state_64()
H A 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/tools/testing/selftests/kvm/lib/x86_64/
H A Dsvm.c85 vmcb_set_seg(&save->gdtr, 0, get_gdt().address, get_gdt().size, 0); in generic_svm_setup()
/linux/arch/x86/include/asm/
H A Dsvm.h312 struct vmcb_seg gdtr; member
364 struct vmcb_seg gdtr; member
H A Dhyperv-tlfs.h775 struct hv_x64_table_register gdtr; member
/linux/tools/testing/selftests/kvm/include/x86_64/
H A Dsvm.h202 struct vmcb_seg gdtr; member
/linux/arch/x86/kvm/svm/
H A Dsvm.c1321 save->gdtr.base = 0; in init_vmcb()
1322 save->gdtr.limit = 0xffff; in init_vmcb()
1821 dt->size = svm->vmcb->save.gdtr.limit; in svm_get_gdt()
1822 dt->address = svm->vmcb->save.gdtr.base; in svm_get_gdt()
1829 svm->vmcb->save.gdtr.limit = dt->size; in svm_set_gdt()
1830 svm->vmcb->save.gdtr.base = dt->address ; in svm_set_gdt()
3436 save->gdtr.selector, save->gdtr.attrib, in dump_vmcb()
3437 save->gdtr.limit, save->gdtr.base); in dump_vmcb()
/linux/arch/x86/coco/sev/
H A Dcore.c1250 vmsa->gdtr.limit = AP_INIT_GDTR_LIMIT; in wakeup_cpu_via_vmgexit()