summaryrefslogtreecommitdiff
path: root/Plan9/arm/include/emu.h
blob: a2fac73a7e47280241a32f0894fd1af5f8ae921c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * system- and machine-specific declarations for emu:
 * floating-point save and restore, signal handling primitive, and
 * implementation of the current-process variable `up'.
 */

extern	Proc**	Xup;
#define	up	(*Xup)

typedef	struct	FPU	FPU;

/*
 * This structure must agree with FPsave and FPrestore asm routines
 */
struct FPU
{
	int dummy[1];	/* XXX what goes here? */
};

typedef jmp_buf osjmpbuf;
#define	ossetjmp(buf)	setjmp(buf)