Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/intel/sys/
H A Dsegments.h120 #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 Dlwp_private.c87 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 Ddesctbls.c492 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 Darchdep.c484 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 Dsysi86.c300 ASSERT(usd->usd_dpl == SEL_UPL); in ssd_to_usd()
640 if (SI86SSD_DPL(ssd) != SEL_UPL) { in setdscr()
H A Dsundep.c458 (udp)->usd_p == 1 && (udp)->usd_dpl == SEL_UPL)
/illumos-gate/usr/src/test/os-tests/tests/i386/
H A Dldt.c48 SDT_MEMRW | (SEL_UPL << 5) | (1 << 7), 0x4 }; in main()
/illumos-gate/usr/src/contrib/bhyve/x86/
H A Dsegments.h50 #define SEL_UPL 3 /* user priority level */ macro
/illumos-gate/usr/src/boot/sys/x86/include/
H A Dsegments.h49 #define SEL_UPL 3 /* user priority level */ macro
/illumos-gate/usr/src/lib/commpage/i386/
H A Dcp_subr.S23 #define GETCPU_GDT_OFFSET SEL_GDT(GDT_CPUID, SEL_UPL)
/illumos-gate/usr/src/lib/commpage/amd64/
H A Dcp_subr.S23 #define GETCPU_GDT_OFFSET SEL_GDT(GDT_CPUID, SEL_UPL)
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_startup.c272 SDT_MEMRODA, SEL_UPL, SDP_BYTES, SDP_OP32); in init_cpu_id_gdt()
/illumos-gate/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c800 if (desc->usd_dpl != SEL_UPL || desc->usd_p != 1) in fasttrap_do_seg()