/*
 * 5799-WZQ (C) COPYRIGHT IBM CORPORATION 1987
 * LICENSED MATERIALS - PROPERTY OF IBM
 * REFER TO COPYRIGHT INSTRUCTIONS FORM NUMBER G120-2083
 */
/* $Header:sigframe.h 12.0$ */
/* $ACIS:sigframe.h 12.0$ */
/* $Source: /ibm/acis/usr/sys/ca/RCS/sigframe.h,v $ */

#if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
static char *rcsidsigframe = "$Header:sigframe.h 12.0$";
#endif

#ifdef ibm032				
#ifdef KERNEL
#include "../machine/float.h"
#else  /* KERNEL */
#include <machine/float.h>
#endif /* KERNEL */
#endif  /* ibm032 */

struct sigframe {  /* the following is pushed on the stack during a signal */
	int sf_signum;               /* space for first parameter */
	int sf_code;                 /* space for second parameter */
	struct sigcontext *sf_scp;   /* space for third parameter */
	struct sigcontext sf_sc;     /* actual sigcontext */
#ifdef	ibm032
	struct floatsave sf_floatsave;  /* floating-point virtual machine */
#endif	/* ibm032 */
#define MAX_EXCEPTIONS 2	     /* max number of exceptions */
};

struct ex_packet {
	int	ex_ctl;			/* exception control */
	int	ex_addr;		/* exception address */
	int	ex_data;		/* exception data */
	int	ex_rsv;			/* reserved */
};
