Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/arch/x86/
A Dsmpboot.c701 struct desc_struct *gdt; in cpu_smpboot_alloc() local
713 per_cpu(gdt_table, cpu) = gdt = alloc_xenheap_pages(order, memflags); in cpu_smpboot_alloc()
714 if ( gdt == NULL ) in cpu_smpboot_alloc()
716 memcpy(gdt, boot_cpu_gdt_table, NR_RESERVED_GDT_PAGES * PAGE_SIZE); in cpu_smpboot_alloc()
718 gdt[PER_CPU_GDT_ENTRY - FIRST_RESERVED_GDT_ENTRY].a = cpu; in cpu_smpboot_alloc()
720 per_cpu(compat_gdt_table, cpu) = gdt = alloc_xenheap_pages(order, memflags); in cpu_smpboot_alloc()
721 if ( gdt == NULL ) in cpu_smpboot_alloc()
723 memcpy(gdt, boot_cpu_compat_gdt_table, NR_RESERVED_GDT_PAGES * PAGE_SIZE); in cpu_smpboot_alloc()
724 gdt[PER_CPU_GDT_ENTRY - FIRST_RESERVED_GDT_ENTRY].a = cpu; in cpu_smpboot_alloc()
A Ddomain.c1591 struct desc_struct *gdt; in __context_switch() local
1632 gdt = !is_pv_32bit_domain(nd) ? per_cpu(gdt_table, cpu) : in __context_switch()
1636 unsigned long mfn = virt_to_mfn(gdt); in __context_switch()
1649 gdt_desc.base = (unsigned long)(gdt - FIRST_RESERVED_GDT_ENTRY); in __context_switch()
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/
A Dcommon.c720 struct desc_struct *gdt = in load_system_tables() local
726 .base = (unsigned long)gdt, in load_system_tables()
759 gdt + TSS_ENTRY, in load_system_tables()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dhvm.c2902 struct segment_register gdt, tr, prev_tr, segr; in hvm_task_switch() local
2910 hvm_get_segment_register(v, x86_seg_gdtr, &gdt); in hvm_task_switch()
2913 if ( ((tss_sel & 0xfff8) + 7) > gdt.limit ) in hvm_task_switch()
2921 optss_desc = hvm_map_entry(gdt.base + (prev_tr.sel & 0xfff8), in hvm_task_switch()
2926 nptss_desc = hvm_map_entry(gdt.base + (tss_sel & 0xfff8), &ntd_writable); in hvm_task_switch()
/xen-4.10.0-shim-comet/
A D.rootkeys448 413cb3b34ui1cCGaSqIeLiBgMp-PDw netbsd-2.0-xen-sparse/sys/arch/xen/i386/gdt.c

Completed in 17 milliseconds