1*48757Sbostic /*-
2*48757Sbostic  * Copyright (c) 1988 The Regents of the University of California.
333814Sbostic  * All rights reserved.
433814Sbostic  *
5*48757Sbostic  * %sccs.include.redist.c%
633814Sbostic  *
7*48757Sbostic  *	@(#)spint.h	4.2 (Berkeley) 04/26/91
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