Lines Matching +full:ecx +full:- +full:2000
5 * Gareth Hughes <gareth@valinux.com>, May 2000
9 * This file handles the architecture-dependent parts of process handling..
70 printk("%sEAX: %08lx EBX: %08lx ECX: %08lx EDX: %08lx\n", in __show_regs()
71 log_lvl, regs->ax, regs->bx, regs->cx, regs->dx); in __show_regs()
73 log_lvl, regs->si, regs->di, regs->bp, regs->sp); in __show_regs()
75 log_lvl, (u16)regs->ds, (u16)regs->es, (u16)regs->fs, gs, regs->ss, regs->flags); in __show_regs()
94 /* Only print out debug registers if they are in their non-default state. */ in __show_regs()
107 BUG_ON(dead_task->mm); in release_thread()
115 regs->fs = 0; in start_thread()
116 regs->ds = __USER_DS; in start_thread()
117 regs->es = __USER_DS; in start_thread()
118 regs->ss = __USER_DS; in start_thread()
119 regs->cs = __USER_CS; in start_thread()
120 regs->ip = new_ip; in start_thread()
121 regs->sp = new_sp; in start_thread()
122 regs->flags = X86_EFLAGS_IF; in start_thread()
140 * hardware task-switch, there is no way to fix up bad state in
143 * The fact that Intel documents the hardware task-switching to
144 * be slow is a fairly red herring - this code is not noticeably
151 * the task-switch, and shows up in ret_from_fork in entry.S,
157 struct thread_struct *prev = &prev_p->thread, in __switch_to()
158 *next = &next_p->thread; in __switch_to()
159 struct fpu *prev_fpu = &prev->fpu; in __switch_to()
172 * where we temporarily have non-reloadable segments in %fs in __switch_to()
177 savesegment(gs, prev->gs); in __switch_to()
180 * Load the per-thread Thread-Local Storage descriptor. in __switch_to()
207 if (prev->gs | next->gs) in __switch_to()
208 loadsegment(gs, next->gs); in __switch_to()