Searched refs:SEL_UPL (Results 1 – 16 of 16) sorted by relevance
/dragonfly/lib/libc/x86_64/gen/ |
H A D | quickcontext.c | 93 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 D | makecontext.c | 120 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 D | asmcontext.c | 16 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL)); 17 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));
|
/dragonfly/sys/platform/pc64/include/ |
H A D | cpu.h | 13 (ISPL((framep)->if_cs) == SEL_UPL)
|
/dragonfly/sys/platform/vkernel64/x86_64/ |
H A D | exception.c | 58 int _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); 59 int _udatasel = GSEL(GUDATA_SEL, SEL_UPL);
|
H A D | db_trace.c | 271 rsp = (ISPL(tf->tf_cs) == SEL_UPL) ? tf->tf_rsp : (long)&tf->tf_rsp; in db_nextframe()
|
H A D | cpu_regs.c | 343 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
|
/dragonfly/test/stress/stress2/misc/ |
H A D | ldt.sh | 68 return (LSEL(sel, SEL_UPL)); 121 descs[0].sd.sd_dpl = SEL_UPL;
|
/dragonfly/sys/platform/pc64/x86_64/ |
H A D | trap.c | 439 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 D | genassym.c | 255 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL)); 256 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL));
|
H A D | machdep.c | 942 #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 D | vm_machdep.c | 1303 if (ISPL(frame->tf_cs) == SEL_UPL) { 1323 if (ISPL(frame->tf_cs) == SEL_UPL) {
|
H A D | db_trace.c | 271 rsp = (ISPL(tf->tf_cs) == SEL_UPL) ? tf->tf_rsp : (long)&tf->tf_rsp; in db_nextframe()
|
H A D | mp_machdep.c | 343 ((u_int64_t)GSEL(GUCODE32_SEL, SEL_UPL) << 48); in init_secondary()
|
/dragonfly/sys/cpu/x86_64/include/ |
H A D | segments.h | 56 #define SEL_UPL 3 /* user privilege level */ macro
|
/dragonfly/sys/dev/virtual/nvmm/x86/ |
H A D | nvmm_x86_svmfunc.S | 161 movq $GSEL(GUDATA_SEL, SEL_UPL),%rax
|