1*90ccc69fSforsyth /* 2*90ccc69fSforsyth * system- and machine-specific declarations for emu: 3*90ccc69fSforsyth * floating-point save and restore, signal handling primitive, and 4*90ccc69fSforsyth * implementation of the current-process variable `up'. 5*90ccc69fSforsyth */ 6*90ccc69fSforsyth 7*90ccc69fSforsyth extern Proc** Xup; 8*90ccc69fSforsyth #define up (*Xup) 9*90ccc69fSforsyth 10*90ccc69fSforsyth typedef struct FPU FPU; 11*90ccc69fSforsyth 12*90ccc69fSforsyth /* 13*90ccc69fSforsyth * This structure must agree with FPsave and FPrestore asm routines 14*90ccc69fSforsyth */ 15*90ccc69fSforsyth struct FPU 16*90ccc69fSforsyth { 17*90ccc69fSforsyth uchar env[28]; 18*90ccc69fSforsyth }; 19*90ccc69fSforsyth 20*90ccc69fSforsyth typedef jmp_buf osjmpbuf; 21*90ccc69fSforsyth #define ossetjmp(buf) setjmp(buf) 22*90ccc69fSforsyth 23