/illumos-gate/usr/src/uts/intel/sys/ |
H A D | segments.h | 120 #define SEL_UPL 3 /* user priority level */ macro 123 #define SEL_LDT(s) (IDXTOSEL(s) | SEL_TI_LDT | SEL_UPL) /* local sel */ 126 #define SELISUPL(s) (((s) & CPL_MASK) == SEL_UPL) 613 #define UCS_SEL SEL_GDT(GDT_UCODE, SEL_UPL) 616 #define U32CS_SEL SEL_GDT(GDT_U32CODE, SEL_UPL) 619 #define UDS_SEL SEL_GDT(GDT_UDATA, SEL_UPL) 625 #define LWPFS_SEL SEL_GDT(GDT_LWPFS, SEL_UPL) 626 #define LWPGS_SEL SEL_GDT(GDT_LWPGS, SEL_UPL) 627 #define BRANDMIN_SEL SEL_GDT(GDT_BRANDMIN, SEL_UPL) 628 #define BRANDMAX_SEL SEL_GDT(GDT_BRANDMAX, SEL_UPL)
|
/illumos-gate/usr/src/uts/intel/syscall/ |
H A D | lwp_private.c | 87 SDT_MEMRWA, SEL_UPL, SDP_BYTES, SDP_OP32); in lwp_setprivate() 91 SDT_MEMRWA, SEL_UPL, SDP_PAGES, SDP_OP32); in lwp_setprivate() 102 SDT_MEMRWA, SEL_UPL, SDP_BYTES, SDP_OP32); in lwp_setprivate() 106 SDT_MEMRWA, SEL_UPL, SDP_PAGES, SDP_OP32); in lwp_setprivate()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | desctbls.c | 492 set_usegd(&gdt[GDT_UCODE], SDP_LONG, NULL, 0, SDT_MEMERA, SEL_UPL, in init_gdt_common() 499 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common() 518 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common() 541 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common() 543 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common() 551 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common() 558 set_usegd(&zero_udesc, SDP_LONG, 0, 0, SDT_MEMRWA, SEL_UPL, in init_gdt_common() 561 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common()
|
H A D | archdep.c | 484 return (0 | SEL_UPL); in fix_segreg() 494 return (0 | SEL_UPL); in fix_segreg() 500 return (0 | SEL_UPL); in fix_segreg() 505 case SEL_UPL: in fix_segreg() 521 return (sr | SEL_TI_LDT | SEL_UPL); in fix_segreg() 524 return (0 | SEL_UPL); in fix_segreg()
|
H A D | sysi86.c | 300 ASSERT(usd->usd_dpl == SEL_UPL); in ssd_to_usd() 640 if (SI86SSD_DPL(ssd) != SEL_UPL) { in setdscr()
|
H A D | sundep.c | 458 (udp)->usd_p == 1 && (udp)->usd_dpl == SEL_UPL)
|
/illumos-gate/usr/src/test/os-tests/tests/i386/ |
H A D | ldt.c | 48 SDT_MEMRW | (SEL_UPL << 5) | (1 << 7), 0x4 }; in main()
|
/illumos-gate/usr/src/contrib/bhyve/x86/ |
H A D | segments.h | 50 #define SEL_UPL 3 /* user priority level */ macro
|
/illumos-gate/usr/src/boot/sys/x86/include/ |
H A D | segments.h | 49 #define SEL_UPL 3 /* user priority level */ macro
|
/illumos-gate/usr/src/lib/commpage/i386/ |
H A D | cp_subr.S | 23 #define GETCPU_GDT_OFFSET SEL_GDT(GDT_CPUID, SEL_UPL)
|
/illumos-gate/usr/src/lib/commpage/amd64/ |
H A D | cp_subr.S | 23 #define GETCPU_GDT_OFFSET SEL_GDT(GDT_CPUID, SEL_UPL)
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | mp_startup.c | 272 SDT_MEMRODA, SEL_UPL, SDP_BYTES, SDP_OP32); in init_cpu_id_gdt()
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 800 if (desc->usd_dpl != SEL_UPL || desc->usd_p != 1) in fasttrap_do_seg()
|