Home
last modified time | relevance | path

Searched refs:gdt (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h265 struct desc_ptr gdt; in get_gdt() local
267 : /* output */ [gdt]"=m"(gdt)); in get_gdt()
268 return gdt; in get_gdt()
/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h65 vm_vaddr_t gdt; member
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c125 dtable_dump(stream, &sregs->gdt, indent + 2); in sregs_dump()
436 void *gdt = addr_gva2hva(vm, vm->gdt); in kvm_seg_fill_gdt_64bit() local
437 struct desc64 *desc = gdt + (segp->selector >> 3) * 8; in kvm_seg_fill_gdt_64bit()
561 if (!vm->gdt) in kvm_setup_gdt()
562 vm->gdt = vm_vaddr_alloc_page(vm); in kvm_setup_gdt()
564 dt->base = vm->gdt; in kvm_setup_gdt()
592 kvm_setup_gdt(vm, &sregs.gdt); in vcpu_setup()
1277 sregs.gdt.base = vm->gdt; in vcpu_init_descriptor_tables()
1278 sregs.gdt.limit = getpagesize() - 1; in vcpu_init_descriptor_tables()
/tools/arch/x86/include/uapi/asm/
Dkvm.h155 struct kvm_dtable gdt, idt; member
166 struct kvm_dtable gdt, idt; member