Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/intel/sys/
H A Dsegments.h124 #define SEL_UPL 3 /* user priority level */ macro
127 #define SEL_LDT(s) (IDXTOSEL(s) | SEL_TI_LDT | SEL_UPL) /* local sel */
130 #define SELISUPL(s) (((s) & CPL_MASK) == SEL_UPL)
598 #define UCS_SEL SEL_GDT(GDT_UCODE, SEL_UPL)
601 #define U32CS_SEL SEL_GDT(GDT_U32CODE, SEL_UPL)
604 #define UDS_SEL SEL_GDT(GDT_UDATA, SEL_UPL)
610 #define LWPFS_SEL SEL_GDT(GDT_LWPFS, SEL_UPL)
611 #define LWPGS_SEL SEL_GDT(GDT_LWPGS, SEL_UPL)
612 #define BRANDMIN_SEL SEL_GDT(GDT_BRANDMIN, SEL_UPL)
613 #define BRANDMAX_SEL SEL_GDT(GDT_BRANDMAX, SEL_UPL)
/titanic_50/usr/src/uts/intel/ia32/syscall/
H A Dlwp_private.c89 SDT_MEMRWA, SEL_UPL, SDP_BYTES, SDP_OP32); in lwp_setprivate()
93 SDT_MEMRWA, SEL_UPL, SDP_PAGES, SDP_OP32); in lwp_setprivate()
104 SDT_MEMRWA, SEL_UPL, SDP_BYTES, SDP_OP32); in lwp_setprivate()
108 SDT_MEMRWA, SEL_UPL, SDP_PAGES, SDP_OP32); in lwp_setprivate()
131 SDT_MEMRWA, SEL_UPL, SDP_PAGES, SDP_OP32); in lwp_setprivate()
139 SDT_MEMRWA, SEL_UPL, SDP_PAGES, SDP_OP32); in lwp_setprivate()
/titanic_50/usr/src/uts/intel/ia32/os/
H A Ddesctbls.c502 set_usegd(&gdt[GDT_UCODE], SDP_LONG, NULL, 0, SDT_MEMERA, SEL_UPL, in init_gdt_common()
509 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common()
527 set_usegd(&gdt[GDT_UDATA], SDP_SHORT, NULL, -1, SDT_MEMRWA, SEL_UPL, in init_gdt_common()
551 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common()
553 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common()
561 SEL_UPL, SDP_PAGES, SDP_OP32); in init_gdt_common()
568 set_usegd(&zero_udesc, SDP_LONG, 0, 0, SDT_MEMRWA, SEL_UPL, in init_gdt_common()
570 set_usegd(&zero_u32desc, SDP_SHORT, 0, -1, SDT_MEMRWA, SEL_UPL, in init_gdt_common()
741 set_usegd(&gdt[GDT_UCODE], NULL, -1, SDT_MEMERA, SEL_UPL, SDP_PAGES, in init_gdt_common()
747 set_usegd(&gdt[GDT_UDATA], NULL, -1, SDT_MEMRWA, SEL_UPL, SDP_PAGES, in init_gdt_common()
[all …]
H A Darchdep.c639 return (0 | SEL_UPL); in fix_segreg()
650 return (0 | SEL_UPL); in fix_segreg()
656 return (0 | SEL_UPL); in fix_segreg()
664 case SEL_UPL: in fix_segreg()
681 return (sr | SEL_TI_LDT | SEL_UPL); in fix_segreg()
684 return (0 | SEL_UPL); in fix_segreg()
690 return (sr | SEL_TI_LDT | SEL_UPL); in fix_segreg()
H A Dsysi86.c292 ASSERT(usd->usd_dpl == SEL_UPL); in ssd_to_usd()
333 ASSERT(sgd->sgd_dpl == SEL_UPL); in ssd_to_sgd()
645 if (SI86SSD_DPL(ssd) != SEL_UPL) { in setdscr()
H A Dsundep.c455 (udp)->usd_p == 1 && (udp)->usd_dpl == SEL_UPL)
/titanic_50/usr/src/lib/commpage/i386/
H A Dcp_subr.s22 #define GETCPU_GDT_OFFSET SEL_GDT(GDT_CPUID, SEL_UPL)
/titanic_50/usr/src/lib/commpage/amd64/
H A Dcp_subr.s22 #define GETCPU_GDT_OFFSET SEL_GDT(GDT_CPUID, SEL_UPL)
/titanic_50/usr/src/uts/i86pc/os/
H A Dmp_startup.c256 SDT_MEMRODA, SEL_UPL, SDP_BYTES, SDP_OP32); in init_cpu_id_gdt()
259 SEL_UPL, SDP_BYTES, SDP_OP32); in init_cpu_id_gdt()
/titanic_50/usr/src/uts/intel/dtrace/
H A Dfasttrap_isa.c824 if (desc->usd_dpl != SEL_UPL || desc->usd_p != 1) in fasttrap_do_seg()