Home
last modified time | relevance | path

Searched refs:__KERNEL_CS (Results 1 – 41 of 41) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
Ddesc.h59 gate->segment = __KERNEL_CS; in pack_gate()
311 pack_gate(&s, GATE_INTERRUPT, (unsigned long)addr, 0, 0, __KERNEL_CS); in set_nmi_gate()
368 __KERNEL_CS); \
375 0, 0, __KERNEL_CS); \
405 _set_gate(n, GATE_INTERRUPT, addr, 0x3, 0, __KERNEL_CS); in set_system_intr_gate()
411 _set_gate(n, GATE_TRAP, addr, 0x3, 0, __KERNEL_CS); in set_system_trap_gate()
417 _set_gate(n, GATE_TRAP, addr, 0, 0, __KERNEL_CS); in set_trap_gate()
429 _set_gate(n, GATE_INTERRUPT, addr, 0, ist, __KERNEL_CS); in set_intr_gate_ist()
435 _set_gate(n, GATE_INTERRUPT, addr, 0x3, ist, __KERNEL_CS); in set_system_intr_gate_ist()
Dsegment.h120 #define __KERNEL_CS (GDT_ENTRY_KERNEL_CS*8) macro
202 #define __KERNEL_CS (GDT_ENTRY_KERNEL_CS*8) macro
Dperf_event.h255 (regs)->cs = __KERNEL_CS; \
Dptrace.h184 regs->cs == __KERNEL_CS) in regs_get_register()
Dprocessor.h846 .sysenter_cs = __KERNEL_CS, \
/linux-4.1.27/arch/x86/realmode/rm/
Dtrampoline_64.S116 * the new gdt/idt that has __KERNEL_CS with CS.L = 1.
118 ljmpl $__KERNEL_CS, $pa_startup_64
137 .quad 0x00af9b000000ffff # __KERNEL_CS
Dwakeup_asm.S22 pmode_cs: .short __KERNEL_CS
132 ljmpl $__KERNEL_CS, $pa_startup_32
/linux-4.1.27/arch/m32r/include/asm/
Dsegment.h4 #define __KERNEL_CS 0x10 macro
/linux-4.1.27/arch/x86/boot/compressed/
Defi_thunk_64.S68 pushq $__KERNEL_CS
166 pushl $__KERNEL_CS
Dhead_64.S181 pushl $__KERNEL_CS
/linux-4.1.27/arch/x86/pci/
Dpcbios.c82 } bios32_indirect __initdata = { 0, __KERNEL_CS };
123 } pci_indirect = { 0, __KERNEL_CS };
/linux-4.1.27/arch/x86/kernel/
Dhead_64.S293 pushq $__KERNEL_CS # set correct cs
309 pushq $__KERNEL_CS # set correct cs
373 cmpl $__KERNEL_CS,96(%rsp)
Ddoublefault.c63 .cs = __KERNEL_CS,
Dhead_32.S456 ljmp $(__KERNEL_CS),$1f
502 movl $(0x8E000000 + __KERNEL_CS),2(%edi)
509 movl $(__KERNEL_CS << 16),%eax
575 cmpl $(__KERNEL_CS),32(%esp)
Dmachine_kexec_32.c58 "\tljmp $"STR(__KERNEL_CS)",$1f\n" in load_segments()
Dentry_32.S1096 movl $__KERNEL_CS,13*4(%esp)
1260 cmpw $__KERNEL_CS, 4(%esp)
1267 pushl_cfi $__KERNEL_CS
1337 cmpw $__KERNEL_CS,16(%esp)
Dmcount_64.S213 movq $__KERNEL_CS, %rcx
Dkgdb.c173 gdb_regs[GDB_CS] = __KERNEL_CS; in sleeping_thread_to_gdb_regs()
180 gdb_regs32[GDB_CS] = __KERNEL_CS; in sleeping_thread_to_gdb_regs()
Dprocess_32.c154 childregs->cs = __KERNEL_CS | get_kernel_rpl(); in copy_thread()
Dprocess.c46 .ss1 = __KERNEL_CS,
Dprocess_64.c184 childregs->cs = __KERNEL_CS | get_kernel_rpl(); in copy_thread()
Dtraps.c339 regs->cs == __KERNEL_CS && in do_double_fault()
Dvm86_32.c155 current->thread.sysenter_cs = __KERNEL_CS; in save_v86_state()
Dentry_64.S1619 pushq_cfi $__KERNEL_CS
/linux-4.1.27/arch/x86/kernel/acpi/
Dwakeup_32.S23 ljmp $(__KERNEL_CS), $1f
/linux-4.1.27/arch/x86/kernel/kprobes/
Dopt.c157 regs->cs = __KERNEL_CS; in optimized_callback()
159 regs->cs = __KERNEL_CS | get_kernel_rpl(); in optimized_callback()
Dcore.c724 regs->cs = __KERNEL_CS; in trampoline_handler()
726 regs->cs = __KERNEL_CS | get_kernel_rpl(); in trampoline_handler()
/linux-4.1.27/arch/x86/xen/
Dsmp.c407 ctxt->event_callback_cs = __KERNEL_CS; in cpu_initialize_context()
408 ctxt->failsafe_callback_cs = __KERNEL_CS; in cpu_initialize_context()
416 ctxt->user_regs.cs = __KERNEL_CS; in cpu_initialize_context()
Dsetup.c775 .address = XEN_CALLBACK(__KERNEL_CS, func), in register_callback()
Denlighten.c1423 : "=&r" (dummy) : "0" (__KERNEL_CS)); in xen_setup_gdt()
/linux-4.1.27/arch/x86/platform/efi/
Defi_thunk_64.S143 pushl $__KERNEL_CS
/linux-4.1.27/arch/x86/platform/olpc/
Dolpc-xo1-pm.c36 } ofw_bios_entry = { 0xF0000 + PAGE_OFFSET, __KERNEL_CS };
Dxo1-wakeup.S48 ljmp $(__KERNEL_CS),$1f
/linux-4.1.27/drivers/lguest/
Dinterrupts_and_traps.c150 cpu->regs->cs = (__KERNEL_CS|GUEST_PL); in guest_run_interrupt()
541 trap->a = ((__KERNEL_CS|GUEST_PL)<<16) | (lo&0x0000FFFF); in set_trap()
/linux-4.1.27/drivers/lguest/x86/
Dcore.c283 wrmsr(MSR_IA32_SYSENTER_CS, __KERNEL_CS, 0); in lguest_arch_run_guest()
714 regs->cs = __KERNEL_CS|GUEST_PL; in lguest_arch_setup_regs()
/linux-4.1.27/arch/x86/kernel/cpu/
Dcommon.c1021 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu()
1209 wrmsrl(MSR_STAR, ((u64)__USER32_CS)<<48 | ((u64)__KERNEL_CS)<<32); in syscall_init()
1220 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS); in syscall_init()
Dperf_event.h774 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
/linux-4.1.27/arch/x86/mm/kmemcheck/
Dkmemcheck.c633 if (regs->cs != __KERNEL_CS) in kmemcheck_fault()
/linux-4.1.27/arch/x86/math-emu/
Dfpu_entry.c175 } else if (FPU_CS == __KERNEL_CS) { in math_emulate()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
Dmce.c259 if (m->cs == __KERNEL_CS) in print_mce()
/linux-4.1.27/arch/x86/kvm/
Dvmx.c4495 vmcs_write16(HOST_CS_SELECTOR, __KERNEL_CS); /* 22.2.4 */ in vmx_set_constant_host_state()
8017 [cs]"i"(__KERNEL_CS) in vmx_handle_external_intr()