Lines Matching +full:cs +full:- +full:0
3 #include "x86/apic-defs.h"
14 #define USERMODE_STACK_SIZE 0x2000
15 #define RET_TO_KERNEL_IRQ 0x20
27 regs->rip = (unsigned long)&restore_exec_to_jmpbuf; in restore_exec_to_jmpbuf_exception_handler()
28 regs->cs = KERNEL_CS; in restore_exec_to_jmpbuf_exception_handler()
30 regs->ss = KERNEL_DS; in restore_exec_to_jmpbuf_exception_handler()
39 volatile uint64_t rax = 0; in run_in_user()
43 *raised_vector = 0; in run_in_user()
48 if (setjmp(jmpbuf) != 0) { in run_in_user()
51 return 0; in run_in_user()
109 [rsp0]"=m"(tss[0].rsp0) in run_in_user()