148757Sbostic /*-
2*62343Sbostic  * Copyright (c) 1988, 1993
3*62343Sbostic  *	The Regents of the University of California.  All rights reserved.
433814Sbostic  *
548757Sbostic  * %sccs.include.redist.c%
633814Sbostic  *
7*62343Sbostic  *	@(#)spint.h	8.1 (Berkeley) 06/06/93
833814Sbostic  */
933814Sbostic 
1033814Sbostic /*
1131153Sminshall  * The 'spint' (spawn and interrupt) routines use this structure.
1231153Sminshall  *
1331153Sminshall  * Note that spint_asm.asm contains an Assembly language version of
1431153Sminshall  * the following, so keep changes in synch!
1531153Sminshall  */
1631153Sminshall 
1731153Sminshall typedef struct {
1831153Sminshall     union REGS		regs;
1931153Sminshall     struct SREGS	sregs;
2031153Sminshall     int			int_no;	/* Which interrupt to wait on */
2131153Sminshall     int			done;	/* Are we done, or just took an interrupt? */
2231153Sminshall     int			rc;	/* return code */
2331155Sminshall } Spint;
24