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