/openbmc/linux/arch/x86/include/asm/ |
H A D | segment.h | 138 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro 139 #define __USER32_CS __USER_CS 217 #define __USER_CS (GDT_ENTRY_DEFAULT_USER_CS*8 + 3) macro
|
H A D | ptrace.h | 235 return regs->cs == __USER_CS; in user_64bit_mode() 238 return regs->cs == __USER_CS || regs->cs == pv_info.extra_user_64bit_cs; in user_64bit_mode()
|
/openbmc/qemu/bsd-user/x86_64/ |
H A D | target_arch_cpu.h | 97 bsd_x86_64_write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_init() 105 cpu_x86_load_seg(env, R_CS, __USER_CS); in target_cpu_init()
|
H A D | target_syscall.h | 21 #define __USER_CS (0x33) macro
|
/openbmc/qemu/bsd-user/i386/ |
H A D | target_arch_cpu.h | 87 bsd_i386_write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_init() 95 cpu_x86_load_seg(env, R_CS, __USER_CS); in target_cpu_init()
|
H A D | target_syscall.h | 22 #define __USER_CS (0x23) macro
|
/openbmc/qemu/linux-user/i386/ |
H A D | cpu_loop.c | 413 write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_copy_regs() 418 write_dt(&gdt_table[__USER_CS >> 3], 0, 0xfffff, in target_cpu_copy_regs() 427 cpu_x86_load_seg(env, R_CS, __USER_CS); in target_cpu_copy_regs()
|
H A D | target_syscall.h | 5 #define __USER_CS (0x23) macro
|
H A D | signal.c | 503 cpu_x86_load_seg(env, R_CS, __USER_CS); in setup_frame() 593 cpu_x86_load_seg(env, R_CS, __USER_CS); in setup_rt_frame()
|
/openbmc/qemu/linux-user/x86_64/ |
H A D | target_syscall.h | 4 #define __USER_CS (0x33) macro
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | errors.c | 46 if (FPU_CS == __USER_CS) { 94 if (FPU_CS == __USER_CS) { in FPU_printall()
|
H A D | fpu_entry.c | 134 } else if (FPU_CS == __USER_CS && FPU_DS == __USER_DS) { in math_emulate()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | process_32.c | 119 regs->cs = __USER_CS; in start_thread()
|
H A D | signal_64.c | 231 regs->cs = __USER_CS; in x64_setup_rt_frame() 349 regs->cs = __USER_CS; in x32_setup_rt_frame()
|
H A D | process_64.c | 536 __USER_CS, __USER_DS, 0); in start_thread() 544 x32 ? __USER_CS : __USER32_CS, in compat_start_thread()
|
H A D | paravirt.c | 175 .extra_user_64bit_cs = __USER_CS,
|
/openbmc/linux/arch/x86/xen/ |
H A D | xen-asm.S | 282 movq $__USER_CS, 1*8(%rsp)
|
/openbmc/linux/arch/x86/entry/ |
H A D | common.c | 326 regs->cs == __USER_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
|
H A D | entry_64.S | 104 pushq $__USER_CS /* pt_regs->cs */ 162 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */
|
H A D | entry_32.S | 810 pushl $__USER_CS /* pt_regs->cs */
|
/openbmc/linux/arch/x86/events/ |
H A D | perf_event.h | 1215 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
|
H A D | core.c | 2996 if (user_mode(regs) && regs->cs != __USER_CS) in code_segment_base()
|