/linux-4.4.14/arch/m32r/include/asm/ |
H A D | segment.h | 4 #define __KERNEL_CS 0x10 macro
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | desc.h | 59 gate->segment = __KERNEL_CS; pack_gate() 311 pack_gate(&s, GATE_INTERRUPT, (unsigned long)addr, 0, 0, __KERNEL_CS); set_nmi_gate() 368 __KERNEL_CS); \ 375 0, 0, __KERNEL_CS); \ 405 _set_gate(n, GATE_INTERRUPT, addr, 0x3, 0, __KERNEL_CS); set_system_intr_gate() 411 _set_gate(n, GATE_TRAP, addr, 0x3, 0, __KERNEL_CS); set_system_trap_gate() 417 _set_gate(n, GATE_TRAP, addr, 0, 0, __KERNEL_CS); set_trap_gate() 429 _set_gate(n, GATE_INTERRUPT, addr, 0, ist, __KERNEL_CS); set_intr_gate_ist() 435 _set_gate(n, GATE_INTERRUPT, addr, 0x3, ist, __KERNEL_CS); set_system_intr_gate_ist()
|
H A D | segment.h | 120 #define __KERNEL_CS (GDT_ENTRY_KERNEL_CS*8) macro 202 #define __KERNEL_CS (GDT_ENTRY_KERNEL_CS*8) macro
|
H A D | perf_event.h | 255 (regs)->cs = __KERNEL_CS; \ get_ibs_caps()
|
H A D | ptrace.h | 183 regs->cs == __KERNEL_CS) regs_get_register()
|
H A D | processor.h | 710 .sysenter_cs = __KERNEL_CS, \
|
/linux-4.4.14/arch/x86/boot/compressed/ |
H A D | efi_thunk_64.S | 68 pushq $__KERNEL_CS 166 pushl $__KERNEL_CS 192 .quad 0x00af9a000000ffff /* __KERNEL_CS */
|
H A D | head_64.S | 177 * the new gdt/idt that has __KERNEL_CS with CS.L = 1. 181 pushl $__KERNEL_CS 438 .quad 0x00af9a000000ffff /* __KERNEL_CS */
|
/linux-4.4.14/arch/x86/realmode/rm/ |
H A D | trampoline_64.S | 116 * the new gdt/idt that has __KERNEL_CS with CS.L = 1. 118 ljmpl $__KERNEL_CS, $pa_startup_64 137 .quad 0x00af9b000000ffff # __KERNEL_CS
|
H A D | wakeup_asm.S | 22 pmode_cs: .short __KERNEL_CS 132 ljmpl $__KERNEL_CS, $pa_startup_32
|
/linux-4.4.14/arch/x86/kernel/acpi/ |
H A D | wakeup_32.S | 25 ljmp $(__KERNEL_CS), $1f
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | doublefault.c | 63 .cs = __KERNEL_CS,
|
H A D | head_64.S | 293 pushq $__KERNEL_CS # set correct cs 309 pushq $__KERNEL_CS # set correct cs 373 cmpl $__KERNEL_CS,96(%rsp)
|
H A D | head_32.S | 455 ljmp $(__KERNEL_CS),$1f 501 movl $(0x8E000000 + __KERNEL_CS),2(%edi) 508 movl $(__KERNEL_CS << 16),%eax 574 cmpl $(__KERNEL_CS),32(%esp)
|
H A D | machine_kexec_32.c | 58 "\tljmp $"STR(__KERNEL_CS)",$1f\n" load_segments()
|
H A D | mcount_64.S | 213 movq $__KERNEL_CS, %rcx
|
H A D | kgdb.c | 173 gdb_regs[GDB_CS] = __KERNEL_CS; sleeping_thread_to_gdb_regs() 180 gdb_regs32[GDB_CS] = __KERNEL_CS; sleeping_thread_to_gdb_regs()
|
H A D | process_32.c | 154 childregs->cs = __KERNEL_CS | get_kernel_rpl(); copy_thread_tls()
|
H A D | process.c | 47 .ss1 = __KERNEL_CS,
|
H A D | process_64.c | 185 childregs->cs = __KERNEL_CS | get_kernel_rpl(); copy_thread_tls()
|
H A D | traps.c | 329 regs->cs == __KERNEL_CS && do_double_fault()
|
H A D | vm86_32.c | 149 tsk->thread.sysenter_cs = __KERNEL_CS; save_v86_state()
|
/linux-4.4.14/arch/x86/platform/olpc/ |
H A D | xo1-wakeup.S | 48 ljmp $(__KERNEL_CS),$1f
|
H A D | olpc-xo1-pm.c | 36 } ofw_bios_entry = { 0xF0000 + PAGE_OFFSET, __KERNEL_CS };
|
/linux-4.4.14/arch/x86/platform/efi/ |
H A D | efi_thunk_64.S | 143 pushl $__KERNEL_CS
|
/linux-4.4.14/arch/x86/kernel/kprobes/ |
H A D | opt.c | 157 regs->cs = __KERNEL_CS; optimized_callback() 159 regs->cs = __KERNEL_CS | get_kernel_rpl(); optimized_callback()
|
H A D | core.c | 724 regs->cs = __KERNEL_CS; trampoline_handler() 726 regs->cs = __KERNEL_CS | get_kernel_rpl(); trampoline_handler()
|
/linux-4.4.14/arch/x86/pci/ |
H A D | pcbios.c | 82 } bios32_indirect __initdata = { 0, __KERNEL_CS }; 123 } pci_indirect = { 0, __KERNEL_CS };
|
/linux-4.4.14/arch/x86/xen/ |
H A D | smp.c | 431 ctxt->event_callback_cs = __KERNEL_CS; cpu_initialize_context() 432 ctxt->failsafe_callback_cs = __KERNEL_CS; cpu_initialize_context() 440 ctxt->user_regs.cs = __KERNEL_CS; cpu_initialize_context()
|
H A D | enlighten.c | 1423 * GDT. The new GDT has __KERNEL_CS with CS.L = 1 xen_setup_gdt() 1431 : "=&r" (dummy) : "0" (__KERNEL_CS)); xen_setup_gdt()
|
H A D | setup.c | 968 .address = XEN_CALLBACK(__KERNEL_CS, func), register_callback()
|
/linux-4.4.14/arch/x86/entry/ |
H A D | entry_32.S | 802 movl $__KERNEL_CS, 13*4(%esp) 959 cmpw $__KERNEL_CS, 4(%esp) 964 pushl $__KERNEL_CS 1027 cmpw $__KERNEL_CS, 16(%esp)
|
H A D | entry_64.S | 1363 pushq $__KERNEL_CS 1401 pushq $__KERNEL_CS /* CS */
|
/linux-4.4.14/drivers/lguest/x86/ |
H A D | core.c | 283 wrmsr(MSR_IA32_SYSENTER_CS, __KERNEL_CS, 0); lguest_arch_run_guest() 707 * __KERNEL_CS, and the "data", "extra" and "stack" segment registers lguest_arch_setup_regs() 714 regs->cs = __KERNEL_CS|GUEST_PL; lguest_arch_setup_regs()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
H A D | common.c | 1006 tss->x86_tss.ss1 = __KERNEL_CS; enable_sep_cpu() 1188 wrmsrl(MSR_STAR, ((u64)__USER32_CS)<<48 | ((u64)__KERNEL_CS)<<32); syscall_init() 1199 wrmsrl_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS); syscall_init()
|
H A D | perf_event.h | 792 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; set_linear_ip()
|
/linux-4.4.14/arch/x86/mm/kmemcheck/ |
H A D | kmemcheck.c | 633 if (regs->cs != __KERNEL_CS) kmemcheck_fault()
|
/linux-4.4.14/drivers/lguest/ |
H A D | interrupts_and_traps.c | 150 cpu->regs->cs = (__KERNEL_CS|GUEST_PL); guest_run_interrupt() 541 trap->a = ((__KERNEL_CS|GUEST_PL)<<16) | (lo&0x0000FFFF); set_trap()
|
/linux-4.4.14/arch/x86/math-emu/ |
H A D | fpu_entry.c | 137 } else if (FPU_CS == __KERNEL_CS) { math_emulate()
|
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/ |
H A D | mce.c | 240 if (m->cs == __KERNEL_CS) print_mce()
|
/linux-4.4.14/arch/x86/kvm/ |
H A D | vmx.c | 4643 vmcs_write16(HOST_CS_SELECTOR, __KERNEL_CS); /* 22.2.4 */ vmx_set_constant_host_state() 8373 [cs]"i"(__KERNEL_CS) vmx_handle_external_intr()
|