Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/lguest/
Dsegments.c85 cpu->arch.gdt[i].b |= (GUEST_PL << 13); in fixup_gdt_table()
138 cpu->arch.gdt[GDT_ENTRY_KERNEL_CS].b |= (GUEST_PL << 13); in setup_guest_gdt()
139 cpu->arch.gdt[GDT_ENTRY_KERNEL_DS].b |= (GUEST_PL << 13); in setup_guest_gdt()
Dinterrupts_and_traps.c84 if ((cpu->regs->ss&0x3) != GUEST_PL) { in set_guest_interrupt()
139 cpu->regs->cs = (__KERNEL_CS|GUEST_PL); in set_guest_interrupt()
445 if ((seg & 0x3) != GUEST_PL) in guest_set_stack()
488 trap->a = ((__KERNEL_CS|GUEST_PL)<<16) | (lo&0x0000FFFF); in set_trap()
541 flags |= (GUEST_PL << 13); in default_idt_entry()
/linux-2.6.39/drivers/lguest/x86/
Dcore.c284 if ((cpu->regs->cs & 3) != GUEST_PL) in emulate_insn()
410 if ((cpu->regs->cs & 3) != GUEST_PL) in is_hypercall()
768 regs->ds = regs->es = regs->ss = __KERNEL_DS|GUEST_PL; in lguest_arch_setup_regs()
769 regs->cs = __KERNEL_CS|GUEST_PL; in lguest_arch_setup_regs()
/linux-2.6.39/arch/x86/include/asm/
Dlguest.h12 #define GUEST_PL 1 macro
/linux-2.6.39/arch/tile/include/asm/
Dprocessor.h341 #define GUEST_PL 1 macro