/openbmc/qemu/bsd-user/i386/ |
H A D | target_arch_cpu.h | 91 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 D | target_syscall.h | 23 #define __USER_DS (0x2B) macro
|
/openbmc/linux/arch/x86/kernel/ |
H A D | signal_32.c | 286 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 D | process_32.c | 116 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 D | doublefault_32.c | 96 .es = __USER_DS, 99 .ds = __USER_DS,
|
H A D | process_64.c | 311 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 D | signal_64.c | 47 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 D | signal.c | 105 regs->ss != __USER_DS && in get_sigframe()
|
/openbmc/qemu/linux-user/i386/ |
H A D | cpu_loop.c | 423 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 D | signal.c | 262 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 D | target_syscall.h | 6 #define __USER_DS (0x2B) macro
|
/openbmc/linux/arch/x86/xen/ |
H A D | xen-asm.S | 281 movq $__USER_DS, 4*8(%rsp) 301 movq $__USER_DS, 4*8(%rsp) 323 movq $__USER_DS, 4*8(%rsp)
|
H A D | smp_pv.c | 278 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 D | entry_64_compat.S | 64 pushq $__USER_DS /* pt_regs->ss */ 206 pushq $__USER_DS /* pt_regs->ss */
|
H A D | common.c | 311 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 D | entry_64.S | 101 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 D | segment.h | 137 #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 D | target_arch_cpu.h | 101 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 D | target_syscall.h | 22 #define __USER_DS (0x2B) macro
|
/openbmc/qemu/linux-user/ppc/ |
H A D | target_syscall.h | 28 #define __USER_DS (1) macro
|
/openbmc/qemu/linux-user/alpha/ |
H A D | target_syscall.h | 5 #define __USER_DS (1) macro
|
/openbmc/qemu/linux-user/x86_64/ |
H A D | target_syscall.h | 5 #define __USER_DS (0x2B) macro
|
/openbmc/linux/arch/x86/power/ |
H A D | cpu.c | 225 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 D | wakeup_32.S | 18 movw $__USER_DS, %ax
|
/openbmc/linux/arch/x86/mm/ |
H A D | extable.c | 205 asm volatile ("mov %0, %%fs" : : "rm" (__USER_DS)); in ex_handler_clear_fs()
|