Home
last modified time | relevance | path

Searched refs:__USER_DS (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/qemu/bsd-user/i386/
H A Dtarget_arch_cpu.h91 bsd_i386_write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_init()
96 cpu_x86_load_seg(env, R_SS, __USER_DS); in target_cpu_init()
97 cpu_x86_load_seg(env, R_DS, __USER_DS); in target_cpu_init()
98 cpu_x86_load_seg(env, R_ES, __USER_DS); in target_cpu_init()
99 cpu_x86_load_seg(env, R_FS, __USER_DS); in target_cpu_init()
100 cpu_x86_load_seg(env, R_GS, __USER_DS); in target_cpu_init()
H A Dtarget_syscall.h23 #define __USER_DS (0x2B) macro
/openbmc/linux/arch/x86/kernel/
H A Dsignal_32.c286 loadsegment(ds, __USER_DS); in ia32_setup_frame()
287 loadsegment(es, __USER_DS); in ia32_setup_frame()
289 regs->ds = __USER_DS; in ia32_setup_frame()
290 regs->es = __USER_DS; in ia32_setup_frame()
294 regs->ss = __USER_DS; in ia32_setup_frame()
368 loadsegment(ds, __USER_DS); in ia32_setup_rt_frame()
369 loadsegment(es, __USER_DS); in ia32_setup_rt_frame()
371 regs->ds = __USER_DS; in ia32_setup_rt_frame()
372 regs->es = __USER_DS; in ia32_setup_rt_frame()
376 regs->ss = __USER_DS; in ia32_setup_rt_frame()
H A Dprocess_32.c116 regs->ds = __USER_DS; in start_thread()
117 regs->es = __USER_DS; in start_thread()
118 regs->ss = __USER_DS; in start_thread()
H A Ddoublefault_32.c96 .es = __USER_DS,
99 .ds = __USER_DS,
H A Dprocess_64.c311 loadseg(which, __USER_DS); in load_seg_legacy()
514 loadsegment(fs, __USER_DS); in start_thread_common()
515 load_gs_index(__USER_DS); in start_thread_common()
536 __USER_CS, __USER_DS, 0); in start_thread()
545 __USER_DS, __USER_DS); in compat_start_thread()
H A Dsignal_64.c47 regs->ss = __USER_DS; in force_valid_ss()
233 if (unlikely(regs->ss != __USER_DS)) in x64_setup_rt_frame()
346 loadsegment(ds, __USER_DS); in x32_setup_rt_frame()
347 loadsegment(es, __USER_DS); in x32_setup_rt_frame()
350 regs->ss = __USER_DS; in x32_setup_rt_frame()
H A Dsignal.c105 regs->ss != __USER_DS && in get_sigframe()
/openbmc/qemu/linux-user/i386/
H A Dcpu_loop.c423 write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_copy_regs()
428 cpu_x86_load_seg(env, R_SS, __USER_DS); in target_cpu_copy_regs()
430 cpu_x86_load_seg(env, R_DS, __USER_DS); in target_cpu_copy_regs()
431 cpu_x86_load_seg(env, R_ES, __USER_DS); in target_cpu_copy_regs()
432 cpu_x86_load_seg(env, R_FS, __USER_DS); in target_cpu_copy_regs()
433 cpu_x86_load_seg(env, R_GS, __USER_DS); in target_cpu_copy_regs()
H A Dsignal.c262 if ((env->segs[R_SS].selector & 0xffff) != __USER_DS in get_sigframe()
500 cpu_x86_load_seg(env, R_DS, __USER_DS); in setup_frame()
501 cpu_x86_load_seg(env, R_ES, __USER_DS); in setup_frame()
502 cpu_x86_load_seg(env, R_SS, __USER_DS); in setup_frame()
591 cpu_x86_load_seg(env, R_DS, __USER_DS); in setup_rt_frame()
592 cpu_x86_load_seg(env, R_ES, __USER_DS); in setup_rt_frame()
594 cpu_x86_load_seg(env, R_SS, __USER_DS); in setup_rt_frame()
H A Dtarget_syscall.h6 #define __USER_DS (0x2B) macro
/openbmc/linux/arch/x86/xen/
H A Dxen-asm.S281 movq $__USER_DS, 4*8(%rsp)
301 movq $__USER_DS, 4*8(%rsp)
323 movq $__USER_DS, 4*8(%rsp)
H A Dsmp_pv.c278 ctxt->user_regs.ds = __USER_DS; in cpu_initialize_context()
279 ctxt->user_regs.es = __USER_DS; in cpu_initialize_context()
/openbmc/linux/arch/x86/entry/
H A Dentry_64_compat.S64 pushq $__USER_DS /* pt_regs->ss */
206 pushq $__USER_DS /* pt_regs->ss */
H A Dcommon.c311 return regs->cs == __USER32_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
326 regs->cs == __USER_CS && regs->ss == __USER_DS && in do_fast_syscall_32()
H A Dentry_64.S101 pushq $__USER_DS /* pt_regs->ss */
179 cmpq $__USER_DS, SS(%rsp) /* SS must match SYSRET */
801 movl $__USER_DS, %eax
/openbmc/linux/arch/x86/include/asm/
H A Dsegment.h137 #define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS*8 + 3) macro
216 #define __USER_DS (GDT_ENTRY_DEFAULT_USER_DS*8 + 3) macro
/openbmc/qemu/bsd-user/x86_64/
H A Dtarget_arch_cpu.h101 bsd_x86_64_write_dt(&gdt_table[__USER_DS >> 3], 0, 0xfffff, in target_cpu_init()
106 cpu_x86_load_seg(env, R_SS, __USER_DS); in target_cpu_init()
H A Dtarget_syscall.h22 #define __USER_DS (0x2B) macro
/openbmc/qemu/linux-user/ppc/
H A Dtarget_syscall.h28 #define __USER_DS (1) macro
/openbmc/qemu/linux-user/alpha/
H A Dtarget_syscall.h5 #define __USER_DS (1) macro
/openbmc/qemu/linux-user/x86_64/
H A Dtarget_syscall.h5 #define __USER_DS (0x2B) macro
/openbmc/linux/arch/x86/power/
H A Dcpu.c225 loadsegment(ds, __USER_DS); in __restore_processor_state()
226 loadsegment(es, __USER_DS); in __restore_processor_state()
/openbmc/linux/arch/x86/kernel/acpi/
H A Dwakeup_32.S18 movw $__USER_DS, %ax
/openbmc/linux/arch/x86/mm/
H A Dextable.c205 asm volatile ("mov %0, %%fs" : : "rm" (__USER_DS)); in ex_handler_clear_fs()

12