Home
last modified time | relevance | path

Searched refs:__USER_CS (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/arch/x86/include/asm/
H A Dsegment.h138 #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 Dptrace.h235 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 Dtarget_arch_cpu.h97 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 Dtarget_syscall.h21 #define __USER_CS (0x33) macro
/openbmc/qemu/bsd-user/i386/
H A Dtarget_arch_cpu.h87 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 Dtarget_syscall.h22 #define __USER_CS (0x23) macro
/openbmc/qemu/linux-user/i386/
H A Dcpu_loop.c413 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 Dtarget_syscall.h5 #define __USER_CS (0x23) macro
H A Dsignal.c503 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 Dtarget_syscall.h4 #define __USER_CS (0x33) macro
/openbmc/linux/arch/x86/math-emu/
H A Derrors.c46 if (FPU_CS == __USER_CS) {
94 if (FPU_CS == __USER_CS) { in FPU_printall()
H A Dfpu_entry.c134 } else if (FPU_CS == __USER_CS && FPU_DS == __USER_DS) { in math_emulate()
/openbmc/linux/arch/x86/kernel/
H A Dprocess_32.c119 regs->cs = __USER_CS; in start_thread()
H A Dsignal_64.c231 regs->cs = __USER_CS; in x64_setup_rt_frame()
349 regs->cs = __USER_CS; in x32_setup_rt_frame()
H A Dprocess_64.c536 __USER_CS, __USER_DS, 0); in start_thread()
544 x32 ? __USER_CS : __USER32_CS, in compat_start_thread()
H A Dparavirt.c175 .extra_user_64bit_cs = __USER_CS,
/openbmc/linux/arch/x86/xen/
H A Dxen-asm.S282 movq $__USER_CS, 1*8(%rsp)
/openbmc/linux/arch/x86/entry/
H A Dcommon.c326 regs->cs == __USER_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
H A Dentry_64.S104 pushq $__USER_CS /* pt_regs->cs */
162 cmpq $__USER_CS, CS(%rsp) /* CS must match SYSRET */
H A Dentry_32.S810 pushl $__USER_CS /* pt_regs->cs */
/openbmc/linux/arch/x86/events/
H A Dperf_event.h1215 regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS; in set_linear_ip()
H A Dcore.c2996 if (user_mode(regs) && regs->cs != __USER_CS) in code_segment_base()