blob: 79a5c56ee471e3d1bc6d8d222b445f082819bb0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* 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
*/
typedef struct FPU FPU;
struct FPU
{
double fpreg[32];
union {
double fpscrd;
struct {
ulong pad;
ulong fpscr;
};
};
};
typedef jmp_buf osjmpbuf;
#define ossetjmp(buf) setjmp(buf)
|