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 /* 8 * This structure must agree with FPsave and FPrestore asm routines 9 */ 10 typedef struct FPU FPU; 11 struct FPU 12 { 13 uchar env[28]; 14 }; 15 16 extern void sleep(int); 17 18 /* Set up private thread space */ 19 extern __declspec(thread) Proc* up; 20 #define Sleep NTsleep 21 22 typedef jmp_buf osjmpbuf; 23 #define ossetjmp(buf) setjmp(buf) 24 25