Searched refs:SEL_KPL (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/uts/intel/sys/ |
H A D | segments.h | 104 #define SEL_KPL 3 /* both kernel and user in ring 3 */ macro 110 #define SEL_KPL 1 /* kernel privilege level */ 111 #define TRP_KPL SEL_KPL /* system gate priv (user blocked) */ 119 #define SEL_KPL 0 /* kernel privilege level on metal */ 120 #define TRP_KPL SEL_KPL /* system gate priv (user blocked) */ 594 #define KCS_SEL SEL_GDT(GDT_KCODE, SEL_KPL) 595 #define KDS_SEL SEL_GDT(GDT_KDATA, SEL_KPL) 600 #define TEMP_CS64_SEL SEL_GDT(TEMPGDT_KCODE64, SEL_KPL) 605 #define ULDT_SEL SEL_GDT(GDT_LDT, SEL_KPL) 606 #define KTSS_SEL SEL_GDT(GDT_KTSS, SEL_KPL) [all …]
|
/titanic_50/usr/src/uts/intel/ia32/os/ |
H A D | desctbls.c | 445 ti->cs |= SEL_KPL; /* force into ring 3. see KCS_SEL */ in xen_idt_to_trap_info() 482 set_usegd(&gdt[GDT_KCODE], SDP_LONG, NULL, 0, SDT_MEMERA, SEL_KPL, in init_gdt_common() 496 SEL_KPL, SDP_PAGES, SDP_OP32); in init_gdt_common() 541 sizeof (*ktss0) - 1, SDT_SYSTSS, SEL_KPL); in init_gdt_common() 602 SEL_KPL, SDP_PAGES, SDP_OP32); in init_gdt() 604 SEL_KPL, SDP_PAGES, SDP_OP32); in init_gdt() 620 load_segment_registers((KCS_SEL | SEL_KPL), KFS_SEL, KGS_SEL, KDS_SEL); in init_gdt() 729 set_usegd(&gdt[GDT_KCODE], NULL, -1, SDT_MEMERA, SEL_KPL, SDP_PAGES, in init_gdt_common() 735 set_usegd(&gdt[GDT_KDATA], NULL, -1, SDT_MEMRWA, SEL_KPL, SDP_PAGES, in init_gdt_common() 756 sizeof (*dftss0) - 1, SDT_SYSTSS, SEL_KPL); in init_gdt_common() [all …]
|
H A D | sysi86.c | 733 set_syssegd(&pp->p_ldt_desc, ldt, ldtsz - 1, SDT_SYSLDT, SEL_KPL); in ldt_alloc() 875 set_syssegd(&pp->p_ldt_desc, nldt, nldtsz - 1, SDT_SYSLDT, SEL_KPL); in ldt_grow()
|
H A D | sundep.c | 668 __set_es(0 | SEL_KPL); /* selector RPL not ring 0 on hypervisor */ in reset_sregs()
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | mach_kdi.c | 193 cpu, sizeof (*cpu), SDT_MEMRWA, SEL_KPL, SDP_BYTES, SDP_OP32); in boot_kdi_tmpinit()
|
H A D | mp_pc.c | 224 sizeof (*cp->cpu_tss) - 1, SDT_SYSTSS, SEL_KPL); in mach_cpucontext_alloc_tables()
|
H A D | mp_startup.c | 413 SEL_KPL, 0, 1); in mp_cpu_configure_common()
|
/titanic_50/usr/src/uts/i86xpv/os/ |
H A D | mach_kdi.c | 242 cpu, sizeof (*cpu), SDT_MEMRWA, SEL_KPL, SDP_BYTES, SDP_OP32); in boot_kdi_tmpinit()
|
H A D | mp_xen.c | 232 vgc->user_regs.cs = KCS_SEL | SEL_KPL; /* force to ring 3 */ in mp_set_cpu_context()
|