190ccc69fSforsyth /* 290ccc69fSforsyth * system- and machine-specific declarations for emu: 390ccc69fSforsyth * floating-point save and restore, signal handling primitive, and 490ccc69fSforsyth * implementation of the current-process variable `up'. 590ccc69fSforsyth */ 690ccc69fSforsyth 790ccc69fSforsyth extern Proc** Xup; 890ccc69fSforsyth #define up (*Xup) 990ccc69fSforsyth 1090ccc69fSforsyth typedef struct FPU FPU; 1190ccc69fSforsyth 1290ccc69fSforsyth /* 1390ccc69fSforsyth * This structure must agree with FPsave and FPrestore asm routines 1490ccc69fSforsyth */ 1590ccc69fSforsyth struct FPU 1690ccc69fSforsyth { 17*f6035671SCharles Forsyth int fpcsr; 1890ccc69fSforsyth }; 1990ccc69fSforsyth 2090ccc69fSforsyth typedef jmp_buf osjmpbuf; 2190ccc69fSforsyth #define ossetjmp(buf) setjmp(buf) 2290ccc69fSforsyth 23