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* getup(void); 8 #define up (getup()) 9 10 /* 11 * This structure must agree with FPsave and FPrestore asm routines 12 */ 13 typedef struct FPU FPU; 14 struct FPU 15 { 16 ulong fsr; 17 }; 18 19 typedef sigjmp_buf osjmpbuf; 20 #define ossetjmp(buf) sigsetjmp(buf, 1) 21 22