Home
last modified time | relevance | path

Searched refs:SEL_UPL (Results 1 – 21 of 21) sorted by relevance

/freebsd/sys/i386/i386/
H A Dptrace_machdep.c78 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in set_segbases()
80 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in set_segbases()
235 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in cpu_ptrace()
238 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in cpu_ptrace()
H A Dmachdep.c387 .ssd_dpl = SEL_UPL,
396 .ssd_dpl = SEL_UPL,
423 .ssd_dpl = SEL_UPL,
432 .ssd_dpl = SEL_UPL,
460 .ssd_dpl = SEL_UPL,
571 .ssd_dpl = SEL_UPL,
589 .ssd_dpl = SEL_UPL,
1318 setidt(IDT_BP, &IDTVEC(bpt), SDT_SYS386IGT, SEL_UPL, in i386_setidt1()
1320 setidt(IDT_OF, &IDTVEC(ofl), SDT_SYS386IGT, SEL_UPL, in i386_setidt1()
1351 SDT_SYS386IGT, SEL_UPL, GSEL(GCODE_SEL, SEL_KPL)); in i386_setidt1()
[all …]
H A Dsys_machdep.c87 sdp->sd_dpl = SEL_UPL; in fill_based_sd()
243 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in sysarch()
260 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in sysarch()
655 if (dp->sd.sd_p != 0 && dp->sd.sd_dpl != SEL_UPL) in i386_set_ldt()
H A Dvm_machdep.c531 sd.sd_dpl = SEL_UPL; in cpu_set_user_tls()
541 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in cpu_set_user_tls()
H A Dtrap.c914 ISPL(frame->tf_cs) == SEL_UPL ? "user" : "kernel"); in trap_fatal()
H A Dexec_machdep.c929 desc.sd.sd_dpl = SEL_UPL; in setup_priv_lcall_gate()
/freebsd/sys/amd64/amd64/
H A Dmachdep.c379 .ssd_dpl = SEL_UPL,
388 .ssd_dpl = SEL_UPL,
415 .ssd_dpl = SEL_UPL,
424 .ssd_dpl = SEL_UPL,
433 .ssd_dpl = SEL_UPL,
1187 ((u_int64_t)GSEL(GUCODE32_SEL, SEL_UPL) << 48); in amd64_conf_fast_syscall()
1426 SEL_UPL, 0); in hammer_time()
1428 SEL_UPL, 0); in hammer_time()
1457 &IDTVEC(dtrace_ret), SDT_SYSIGT, SEL_UPL, 0); in hammer_time()
1592 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); in hammer_time()
[all …]
H A Dgenassym.c269 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL));
270 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));
271 ASSYM(KUC32SEL, GSEL(GUCODE32_SEL, SEL_UPL));
272 ASSYM(KUF32SEL, GSEL(GUFS32_SEL, SEL_UPL));
273 ASSYM(KUG32SEL, GSEL(GUGS32_SEL, SEL_UPL));
H A Dsys_machdep.c744 if ((dp->sd_p != 0) && (dp->sd_dpl != SEL_UPL)) in amd64_set_ldt()
/freebsd/tools/test/stress2/misc/
H A Dsegregs.sh82 desc.sd.sd_dpl = SEL_UPL;
91 sel = LSEL(sl, SEL_UPL);
H A Dldt.sh68 return (LSEL(sel, SEL_UPL));
121 descs[0].sd.sd_dpl = SEL_UPL;
/freebsd/sys/i386/include/
H A Dframe.h39 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
H A Dcpu.h55 ((ISPL((framep)->tf_cs) == SEL_UPL) || ((framep)->tf_eflags & PSL_VM))
/freebsd/sys/amd64/ia32/
H A Dia32_syscall.c245 &IDTVEC(int0x80_syscall), SDT_SYSIGT, SEL_UPL, 0); in ia32_syscall_enable()
276 desc.sd_dpl = SEL_UPL; in setup_lcall_gate()
/freebsd/sys/amd64/include/
H A Dframe.h48 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
H A Dcpu.h52 (ISPL((framep)->tf_cs) == SEL_UPL)
/freebsd/sys/x86/include/
H A Dsegments.h49 #define SEL_UPL 3 /* user priority level */ macro
/freebsd/sys/i386/linux/
H A Dlinux_sysvec.c384 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_sigreturn()
463 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()
/freebsd/sys/amd64/linux/
H A Dlinux_machdep.c359 return (val != 0 && ISPL(val) != SEL_UPL); in linux_invalid_selector()
/freebsd/sys/cddl/contrib/opensolaris/uts/intel/dtrace/
H A Dfasttrap_isa.c825 if (ISPL(sel) != SEL_UPL) in fasttrap_do_seg()
864 if (desc->sd_dpl != SEL_UPL || desc->sd_p != 1) in fasttrap_do_seg()
/freebsd/sys/amd64/linux32/
H A Dlinux32_machdep.c288 td->td_frame->tf_gs = GSEL(GUGS32_SEL, SEL_UPL); in linux_set_cloned_tls()