xref: /inferno-os/Plan9/arm/include/emu.h (revision e57c7e16a3789cd4de1a3c2560d49b1ee39cd10a)
1 /*
2  * system- and machine-specific declarations for emu:
3  * floating-point save and restore, signal handling primitive, and
4  * implementation of the current-process variable `up'.
5  */
6 
7 extern	Proc**	Xup;
8 #define	up	(*Xup)
9 
10 typedef	struct	FPU	FPU;
11 
12 /*
13  * This structure must agree with FPsave and FPrestore asm routines
14  */
15 struct FPU
16 {
17 	int dummy[1];	/* XXX what goes here? */
18 };
19 
20 typedef jmp_buf osjmpbuf;
21 #define	ossetjmp(buf)	setjmp(buf)
22 
23