Searched refs:gdt (Results 1 – 10 of 10) sorted by relevance
/xen/xen/arch/x86/ |
A D | smpboot.c | 976 FREE_XENHEAP_PAGE(per_cpu(gdt, cpu)); in cpu_smpboot_free() 992 seg_desc_t *gdt; in cpu_smpboot_alloc() local 1012 gdt = per_cpu(gdt, cpu) ?: alloc_xenheap_pages(0, memflags); in cpu_smpboot_alloc() 1013 if ( gdt == NULL ) in cpu_smpboot_alloc() 1015 per_cpu(gdt, cpu) = gdt; in cpu_smpboot_alloc() 1017 l1e_from_pfn(virt_to_mfn(gdt), __PAGE_HYPERVISOR_RW); in cpu_smpboot_alloc() 1018 memcpy(gdt, boot_gdt, NR_RESERVED_GDT_PAGES * PAGE_SIZE); in cpu_smpboot_alloc() 1020 gdt[PER_CPU_GDT_ENTRY - FIRST_RESERVED_GDT_ENTRY].a = cpu; in cpu_smpboot_alloc() 1024 if ( gdt == NULL ) in cpu_smpboot_alloc() 1027 l1e_from_pfn(virt_to_mfn(gdt), __PAGE_HYPERVISOR_RW); in cpu_smpboot_alloc() [all …]
|
A D | traps.c | 101 DEFINE_PER_CPU_READ_MOSTLY(seg_desc_t *, gdt); 2094 this_cpu(gdt) = boot_gdt; in init_idt_traps()
|
A D | domain.c | 1682 .base = (unsigned long)(per_cpu(gdt, cpu) - FIRST_RESERVED_GDT_ENTRY), in load_default_gdt()
|
/xen/xen/include/asm-x86/ |
A D | ldt.h | 16 desc = (!is_pv_32bit_vcpu(v) ? this_cpu(gdt) : this_cpu(compat_gdt)) in load_LDT()
|
A D | desc.h | 212 DECLARE_PER_CPU(seg_desc_t *, gdt);
|
/xen/xen/arch/x86/cpu/ |
A D | common.c | 749 seg_desc_t *gdt = in load_system_tables() local 750 this_cpu(gdt) - FIRST_RESERVED_GDT_ENTRY; in load_system_tables() 753 .base = (unsigned long)gdt, in load_system_tables() 812 _set_tssldt_desc(gdt + TSS_ENTRY, (unsigned long)tss, in load_system_tables()
|
/xen/xen/common/efi/ |
A D | runtime.c | 107 .base = (unsigned long)(per_cpu(gdt, smp_processor_id()) - in efi_rs_enter()
|
/xen/xen/arch/x86/hvm/ |
A D | hvm.c | 2969 struct segment_register gdt, tr, prev_tr, segr; in hvm_task_switch() local 2978 hvm_get_segment_register(v, x86_seg_gdtr, &gdt); in hvm_task_switch() 2981 if ( ((tss_sel & 0xfff8) + 7) > gdt.limit ) in hvm_task_switch() 2989 optss_desc = hvm_map_entry(gdt.base + (prev_tr.sel & 0xfff8), in hvm_task_switch() 2994 nptss_desc = hvm_map_entry(gdt.base + (tss_sel & 0xfff8), &ntd_writable); in hvm_task_switch()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmcs.c | 869 (unsigned long)(this_cpu(gdt) - FIRST_RESERVED_GDT_ENTRY)); in vmx_set_host_env()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1549 this_cpu(gdt) + LDT_ENTRY - FIRST_RESERVED_GDT_ENTRY; in svm_load_segs()
|
Completed in 29 milliseconds