Return to locore.S CVS log | Up to [cvs.NetBSD.org] / src / sys / arch / i386 / i386 |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.46, 2007/02/17 22:31:37 | version 1.47, 2007/02/19 11:46:10 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
/* LINTSTUB: Func: void savectx(struct pcb *pcb) */ | /* LINTSTUB: Func: void savectx(struct pcb *pcb) */ | ||
ENTRY(savectx) | ENTRY(savectx) | ||
movl 4(%esp),%edx # edx = p->p_addr | movl 4(%esp),%edx # edx = pcb | ||
/* Save stack pointers. */ | /* Save stack pointers. */ | ||
movl %esp,PCB_ESP(%edx) | movl %esp,PCB_ESP(%edx) |