Home
last modified time | relevance | path

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

/f-stack/freebsd/i386/include/
H A Dframe.h41 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
H A Dcpu.h55 ((ISPL((framep)->tf_cs) == SEL_UPL) || ((framep)->tf_eflags & PSL_VM))
/f-stack/freebsd/amd64/amd64/
H A Dgenassym.c248 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL));
249 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));
250 ASSYM(KUC32SEL, GSEL(GUCODE32_SEL, SEL_UPL));
251 ASSYM(KUF32SEL, GSEL(GUFS32_SEL, SEL_UPL));
252 ASSYM(KUG32SEL, GSEL(GUGS32_SEL, SEL_UPL));
H A Dmachdep.c708 .ssd_dpl = SEL_UPL,
717 .ssd_dpl = SEL_UPL,
744 .ssd_dpl = SEL_UPL,
753 .ssd_dpl = SEL_UPL,
762 .ssd_dpl = SEL_UPL,
1733 SEL_UPL, 0); in hammer_time()
1735 SEL_UPL, 0); in hammer_time()
1912 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); in hammer_time()
1913 _udatasel = GSEL(GUDATA_SEL, SEL_UPL); in hammer_time()
1915 _ufssel = GSEL(GUFS32_SEL, SEL_UPL); in hammer_time()
[all …]
H A Dsys_machdep.c749 if ((dp->sd_p != 0) && (dp->sd_dpl != SEL_UPL)) in amd64_set_ldt()
/f-stack/freebsd/i386/i386/
H A Dptrace_machdep.c186 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in cpu_ptrace()
189 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in cpu_ptrace()
H A Dsys_machdep.c89 sdp->sd_dpl = SEL_UPL; in fill_based_sd()
245 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in sysarch()
262 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in sysarch()
661 if (dp->sd.sd_p != 0 && dp->sd.sd_dpl != SEL_UPL) in i386_set_ldt()
H A Dmachdep.c1112 desc.sd.sd_dpl = SEL_UPL; in setup_priv_lcall_gate()
1300 .ssd_dpl = SEL_UPL,
1309 .ssd_dpl = SEL_UPL,
1336 .ssd_dpl = SEL_UPL,
1345 .ssd_dpl = SEL_UPL,
1373 .ssd_dpl = SEL_UPL,
1484 .ssd_dpl = SEL_UPL,
1502 .ssd_dpl = SEL_UPL,
2499 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); in init386()
2500 _udatasel = GSEL(GUDATA_SEL, SEL_UPL); in init386()
[all …]
H A Dvm_machdep.c537 sd.sd_dpl = SEL_UPL; in cpu_set_user_tls()
547 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in cpu_set_user_tls()
H A Dtrap.c895 ISPL(frame->tf_cs) == SEL_UPL ? "user" : "kernel");
/f-stack/freebsd/amd64/ia32/
H A Dia32_syscall.c237 &IDTVEC(int0x80_syscall), SDT_SYSIGT, SEL_UPL, 0); in ia32_syscall_enable()
266 desc.sd_dpl = SEL_UPL; in setup_lcall_gate()
H A Dia32_reg.c75 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
H A Dia32_signal.c88 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
/f-stack/freebsd/amd64/include/
H A Dcpu.h55 (ISPL((framep)->tf_cs) == SEL_UPL)
/f-stack/freebsd/x86/include/
H A Dsegments.h52 #define SEL_UPL 3 /* user priority level */ macro
/f-stack/freebsd/i386/linux/
H A Dlinux_machdep.c310 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in linux_set_cloned_tls()
634 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in linux_set_thread_area()
H A Dlinux_sysvec.c634 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_sigreturn()
715 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_sysvec.c510 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_sigreturn()
593 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()
H A Dlinux32_machdep.c419 td->td_frame->tf_gs = GSEL(GUGS32_SEL, SEL_UPL); in linux_set_cloned_tls()
/f-stack/freebsd/amd64/linux/
H A Dlinux_sysvec.c559 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()