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

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

/*
 * These are the variables the kernel keeps around internally
 * to deal with the mc68881.
 */

struct mc881_state {
    struct {
	u_int	data[96/32*8];		/* FP0 - FP7 */
	u_int	control[32/32*3];	/* FPCR, FPSR, FPIAR */
    } programmer;
    struct {
	u_int	format;		/* Save/restore format */
	u_int	data[45];	/* Amount of data */
#define biu_flags data[5]		/* get BIU flags */
    } internal;
    u_int	ioim_length_register;	/* Contents of the IOIM length reg */
    u_int	lastop;			/* Contents of IOIM LASTOP reg */
					/* Note: lastop valid on signals only */
};
