5 * $DragonFly: src/test/sysperf/sw.S,v 1.1 2003/08/12 02:29:44 dillon Exp $
8 .globl qswitch, qrestore, qinit, qirestore, qstart
46 movl 12(%esp),%ebp ; \
51 /* qswitch(&olddesc, newdesc) */
53 movl 8(%esp),%eax /* new state */
54 movl 4(%esp),%edx /* save old state */
70 /* newdesc = qinit(topofstk, func, arg) */
74 movl $qirestore,0(%eax)