__KERNEL_CS
entry.segment = __KERNEL_CS;
regs->cs = kernel_ip(ip) ? __KERNEL_CS : __USER_CS;
input->vp_context.cs.selector = __KERNEL_CS;
data->segment = __KERNEL_CS;
gate->segment = __KERNEL_CS;
regs->cs = __KERNEL_CS; \
(_regs)->cs = __KERNEL_CS; \
(regs)->cs = __KERNEL_CS; \
.sysenter_cs = __KERNEL_CS, \
tss->x86_tss.ss1 = __KERNEL_CS;
wrmsrq_safe(MSR_IA32_SYSENTER_CS, (u64)__KERNEL_CS);
wrmsr(MSR_STAR, 0, (__USER32_CS << 16) | __KERNEL_CS);
if (m->cs == __KERNEL_CS)
.cs = __KERNEL_CS,
G(_vector, _addr, DEFAULT_STACK, GATE_INTERRUPT, DPL0, __KERNEL_CS)
G(_vector, _addr, DEFAULT_STACK, GATE_INTERRUPT, DPL3, __KERNEL_CS)
G(_vector, _addr, _ist + 1, GATE_INTERRUPT, DPL0, __KERNEL_CS)
gdb_regs[GDB_CS] = __KERNEL_CS;
gdb_regs32[GDB_CS] = __KERNEL_CS;
regs->cs = __KERNEL_CS;
"\tljmp $"STR(__KERNEL_CS)",$1f\n"
idtentry.segment = __KERNEL_CS;
.ss1 = __KERNEL_CS,
regs->cs = __KERNEL_CS;
regs->cs == __KERNEL_CS &&
tsk->thread.sysenter_cs = __KERNEL_CS;
vmcs_write16(HOST_CS_SELECTOR, __KERNEL_CS); /* 22.2.4 */
} else if (FPU_CS == __KERNEL_CS) {
if (!xen_pv_domain() && regs->cs != __KERNEL_CS)
.segment = __KERNEL_CS,
} bios32_indirect __initdata = { 0, __KERNEL_CS };
} ofw_bios_entry = { 0xF0000 + PAGE_OFFSET, __KERNEL_CS };
.address = XEN_CALLBACK(__KERNEL_CS, func),
ctxt->user_regs.cs = __KERNEL_CS;