Home
last modified time | relevance | path

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

/drivers/lguest/
Dsegments.c74 if ((cpu->arch.gdt[i].b & 0x00006000) == 0) in fixup_gdt_table()
75 cpu->arch.gdt[i].b |= (GUEST_PL << 13); in fixup_gdt_table()
81 cpu->arch.gdt[i].b |= 0x00000100; in fixup_gdt_table()
94 struct desc_struct *gdt = state->guest_gdt; in setup_default_gdt_entries() local
98 gdt[GDT_ENTRY_LGUEST_CS] = FULL_EXEC_SEGMENT; in setup_default_gdt_entries()
99 gdt[GDT_ENTRY_LGUEST_DS] = FULL_SEGMENT; in setup_default_gdt_entries()
105 gdt[GDT_ENTRY_TSS].a = 0x00000067 | (tss << 16); in setup_default_gdt_entries()
106 gdt[GDT_ENTRY_TSS].b = 0x00008900 | (tss & 0xFF000000) in setup_default_gdt_entries()
115 cpu->arch.gdt[GDT_ENTRY_KERNEL_CS] = FULL_EXEC_SEGMENT; in setup_guest_gdt()
116 cpu->arch.gdt[GDT_ENTRY_KERNEL_DS] = FULL_SEGMENT; in setup_guest_gdt()
[all …]
Dlg.h163 void copy_gdt(const struct lg_cpu *cpu, struct desc_struct *gdt);
164 void copy_gdt_tls(const struct lg_cpu *cpu, struct desc_struct *gdt);
/drivers/pnp/pnpbios/
Dbioscalls.c58 struct desc_struct *gdt = get_cpu_gdt_table((cpu)); \
59 set_base(gdt[(selname) >> 3], (u32)(address)); \
60 set_limit(gdt[(selname) >> 3], size); \
485 struct desc_struct *gdt = get_cpu_gdt_table(i); in pnpbios_calls_init() local
486 if (!gdt) in pnpbios_calls_init()
488 set_base(gdt[GDT_ENTRY_PNPBIOS_CS32], &pnp_bios_callfunc); in pnpbios_calls_init()
489 set_base(gdt[GDT_ENTRY_PNPBIOS_CS16], in pnpbios_calls_init()
491 set_base(gdt[GDT_ENTRY_PNPBIOS_DS], in pnpbios_calls_init()