/titanic_50/usr/src/uts/intel/ia32/os/ |
H A D | desctbls.c | 620 load_segment_registers((KCS_SEL | SEL_KPL), KFS_SEL, KGS_SEL, KDS_SEL); in init_gdt() 690 load_segment_registers(KCS_SEL, KFS_SEL, KGS_SEL, KDS_SEL); in init_gdt() 842 KCS_SEL, KDS_SEL, KDS_SEL, KFS_SEL, KGS_SEL, KDS_SEL); in init_gdt() 895 KCS_SEL, KDS_SEL, KDS_SEL, KFS_SEL, KGS_SEL, KDS_SEL); in init_gdt() 920 set_gatesegd(&idt[T_ZERODIV], &div0trap, KCS_SEL, SDT_SYSIGT, TRP_KPL, in init_idt_common() 922 set_gatesegd(&idt[T_SGLSTP], &dbgtrap, KCS_SEL, SDT_SYSIGT, TRP_KPL, in init_idt_common() 924 set_gatesegd(&idt[T_NMIFLT], &nmiint, KCS_SEL, SDT_SYSIGT, TRP_KPL, in init_idt_common() 926 set_gatesegd(&idt[T_BPTFLT], &brktrap, KCS_SEL, SDT_SYSIGT, TRP_UPL, in init_idt_common() 928 set_gatesegd(&idt[T_OVFLW], &ovflotrap, KCS_SEL, SDT_SYSIGT, TRP_UPL, in init_idt_common() 930 set_gatesegd(&idt[T_BOUNDFLT], &boundstrap, KCS_SEL, SDT_SYSIGT, in init_idt_common() [all …]
|
/titanic_50/usr/src/uts/intel/kdi/ia32/ |
H A D | kdi_asm.s | 247 cmpw $KCS_SEL, %ax 253 cmpw $KCS_SEL, %ax 260 movl $KCS_SEL, kdi_cs 274 cmpw $KCS_SEL, %ax 276 ljmp $KCS_SEL, $1f 682 ljmp $KCS_SEL, $1f 688 ljmp $KCS_SEL, $2f 694 ljmp $KCS_SEL, $3f
|
/titanic_50/usr/src/uts/intel/kdi/ |
H A D | kdi_idt.c | 277 kdi_idt_init(KCS_SEL); in kdi_idt_sync() 278 kdi_idt_gates_install(KCS_SEL, KDI_IDT_SAVE); in kdi_idt_sync() 396 kdi_idt_gates_install(KCS_SEL, KDI_IDT_NOSAVE); in kdi_cpu_init() 408 kdi_idt_gates_install(KCS_SEL, KDI_IDT_SAVE); in kdi_cpu_activate() 436 kdi_idt_init(KCS_SEL); in kdi_activate()
|
/titanic_50/usr/src/uts/i86xpv/ml/ |
H A D | hyperevent.s | 123 movq $KCS_SEL, REGOFF_CS(%rsp) 168 movl $KCS_SEL, REGOFF_CS(%esp)
|
/titanic_50/usr/src/uts/intel/ia32/sys/ |
H A D | psw.h | 112 #define USERMODE(cs) ((uint16_t)(cs) != KCS_SEL)
|
/titanic_50/usr/src/uts/i86pc/ml/ |
H A D | mpcore.s | 243 pushq $KCS_SEL 378 D16 pushl $KCS_SEL 470 D16 pushl $KCS_SEL
|
H A D | interrupt.s | 190 pushq $KCS_SEL /* %cs */
|
H A D | locore.s | 1150 cmpw $KCS_SEL, REGOFF_CS(%rbp) /* test CS for user-mode trap */ 1252 cmpw $KCS_SEL, REGOFF_CS(%ebp) /* test CS for user-mode trap */
|
H A D | cpr_wakecode.s | 595 pushq $KCS_SEL
|
/titanic_50/usr/src/uts/intel/amd64/sys/ |
H A D | privregs.h | 205 cmpw $KCS_SEL, REGOFF_CS(%rsp); \ 216 cmpw $KCS_SEL, REGOFF_CS(%rsp);\
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | mp_startup.c | 181 ASSERT(KDS_SEL == KCS_SEL + 8); in init_cpu_syscall() 194 ((uint64_t)(U32CS_SEL << 16 | KCS_SEL)) << 32); in init_cpu_syscall() 224 ASSERT(KDS_SEL == KCS_SEL + 8); in init_cpu_syscall() 226 ASSERT32(UCS_SEL == ((KCS_SEL + 16) | 3)); in init_cpu_syscall() 229 ASSERT64(U32CS_SEL == ((KCS_SEL + 16) | 3)); in init_cpu_syscall() 2043 wrmsr(MSR_INTC_SEP_CS, (uint64_t)(uintptr_t)KCS_SEL); in cpu_sep_enable()
|
H A D | mp_pc.c | 206 ntss->tss_cs = KCS_SEL; in mach_cpucontext_alloc_tables()
|
H A D | startup.c | 2032 KCS_SEL, SDT_SYSIGT, TRP_KPL, 0); in startup_vm()
|
/titanic_50/usr/src/uts/intel/ia32/ml/ |
H A D | exception.s | 243 cmpw $KCS_SEL, REGOFF_CS(%rbp); /* trap from kernel? */ \ 338 cmpw $KCS_SEL, 8(%rsp) 383 cmpw $KCS_SEL, 8(%rsp) 671 cmpw $KCS_SEL, REGOFF_CS(%rsp) 702 cmpw $KCS_SEL, 24(%rsp) /* did we come from kernel mode? */
|
/titanic_50/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 232 vgc->user_regs.cs = KCS_SEL | SEL_KPL; /* force to ring 3 */ in mp_set_cpu_context() 234 vgc->user_regs.cs = KCS_SEL; in mp_set_cpu_context() 272 ti->cs = KCS_SEL; in mp_set_cpu_context()
|
H A D | xen_machdep.c | 263 cb.address.cs = KCS_SEL; in xen_set_callback()
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | segments.h | 591 #define KCS_SEL 0xe030 /* FLAT_RING3_CS64 & 0xFFF0 */ macro 594 #define KCS_SEL SEL_GDT(GDT_KCODE, SEL_KPL) macro
|
/titanic_50/usr/src/uts/i86xpv/sys/ |
H A D | machprivregs.h | 341 cmpw $KCS_SEL, 0x10(%rsp); \
|
/titanic_50/usr/src/uts/intel/kdi/amd64/ |
H A D | kdi_asm.s | 431 pushq $KCS_SEL
|