131153Sminshall /*
2*33814Sbostic  * Copyright (c) 1988 Regents of the University of California.
3*33814Sbostic  * All rights reserved.
4*33814Sbostic  *
5*33814Sbostic  * Redistribution and use in source and binary forms are permitted
6*33814Sbostic  * provided that this notice is preserved and that due credit is given
7*33814Sbostic  * to the University of California at Berkeley. The name of the University
8*33814Sbostic  * may not be used to endorse or promote products derived from this
9*33814Sbostic  * software without specific prior written permission. This software
10*33814Sbostic  * is provided ``as is'' without express or implied warranty.
11*33814Sbostic  *
12*33814Sbostic  *	@(#)spint.h	3.2 (Berkeley) 03/28/88
13*33814Sbostic  */
14*33814Sbostic 
15*33814Sbostic /*
1631153Sminshall  * The 'spint' (spawn and interrupt) routines use this structure.
1731153Sminshall  *
1831153Sminshall  * Note that spint_asm.asm contains an Assembly language version of
1931153Sminshall  * the following, so keep changes in synch!
2031153Sminshall  */
2131153Sminshall 
2231153Sminshall typedef struct {
2331153Sminshall     union REGS		regs;
2431153Sminshall     struct SREGS	sregs;
2531153Sminshall     int			int_no;	/* Which interrupt to wait on */
2631153Sminshall     int			done;	/* Are we done, or just took an interrupt? */
2731153Sminshall     int			rc;	/* return code */
2831155Sminshall } Spint;
29