Home
last modified time | relevance | path

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

/dragonfly/lib/libc/x86_64/gen/
H A Dquickcontext.c93 ucp->uc_mcontext.mc_cs = GSEL(GUCODE_SEL, SEL_UPL); in _makecontext_quick()
94 ucp->uc_mcontext.mc_ss = GSEL(GUDATA_SEL, SEL_UPL); in _makecontext_quick()
H A Dmakecontext.c120 ucp->uc_mcontext.mc_cs = GSEL(GUCODE_SEL, SEL_UPL); in _makecontext()
121 ucp->uc_mcontext.mc_ss = GSEL(GUDATA_SEL, SEL_UPL); in _makecontext()
/dragonfly/lib/libc/x86_64/sys/
H A Dasmcontext.c16 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL));
17 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));
/dragonfly/sys/platform/pc64/include/
H A Dcpu.h13 (ISPL((framep)->if_cs) == SEL_UPL)
/dragonfly/sys/platform/vkernel64/x86_64/
H A Dexception.c58 int _ucodesel = GSEL(GUCODE_SEL, SEL_UPL);
59 int _udatasel = GSEL(GUDATA_SEL, SEL_UPL);
H A Ddb_trace.c271 rsp = (ISPL(tf->tf_cs) == SEL_UPL) ? tf->tf_rsp : (long)&tf->tf_rsp; in db_nextframe()
H A Dcpu_regs.c343 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
/dragonfly/test/stress/stress2/misc/
H A Dldt.sh68 return (LSEL(sel, SEL_UPL));
121 descs[0].sd.sd_dpl = SEL_UPL;
/dragonfly/sys/platform/pc64/x86_64/
H A Dtrap.c439 if (ISPL(frame->tf_cs) == SEL_UPL) { in trap()
471 if (ISPL(frame->tf_cs) == SEL_UPL) { in trap()
1036 ISPL(frame->tf_cs) == SEL_UPL ? "user" : "kernel"); in trap_fatal()
1052 if (ISPL(frame->tf_cs) == SEL_UPL) { in trap_fatal()
1179 if (__predict_false(ISPL(frame->tf_cs) != SEL_UPL)) { in syscall2()
H A Dgenassym.c255 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL));
256 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));
H A Dmachdep.c942 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
1667 SEL_UPL, /* segment descriptor priority level */
1676 SEL_UPL, /* segment descriptor priority level */
1685 SEL_UPL, /* segment descriptor priority level */
1713 SEL_UPL, /* segment descriptor priority level */
2730 setidt_global(IDT_BP, &IDTVEC(bpt), SDT_SYSIGT, SEL_UPL, 0); in hammer_time()
2886 ((u_int64_t)GSEL(GUCODE32_SEL, SEL_UPL) << 48); in hammer_time()
2906 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); in hammer_time()
2907 _udatasel = GSEL(GUDATA_SEL, SEL_UPL); in hammer_time()
2908 _ucode32sel = GSEL(GUCODE32_SEL, SEL_UPL); in hammer_time()
H A Dvm_machdep.c1303 if (ISPL(frame->tf_cs) == SEL_UPL) {
1323 if (ISPL(frame->tf_cs) == SEL_UPL) {
H A Ddb_trace.c271 rsp = (ISPL(tf->tf_cs) == SEL_UPL) ? tf->tf_rsp : (long)&tf->tf_rsp; in db_nextframe()
H A Dmp_machdep.c343 ((u_int64_t)GSEL(GUCODE32_SEL, SEL_UPL) << 48); in init_secondary()
/dragonfly/sys/cpu/x86_64/include/
H A Dsegments.h56 #define SEL_UPL 3 /* user privilege level */ macro
/dragonfly/sys/dev/virtual/nvmm/x86/
H A Dnvmm_x86_svmfunc.S161 movq $GSEL(GUDATA_SEL, SEL_UPL),%rax