diff options
Diffstat (limited to 'Solaris/386/include')
| -rw-r--r-- | Solaris/386/include/emu.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Solaris/386/include/emu.h b/Solaris/386/include/emu.h new file mode 100644 index 00000000..18a87a9b --- /dev/null +++ b/Solaris/386/include/emu.h @@ -0,0 +1,21 @@ +/* + * 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* getup(void); +#define up (getup()) + +/* + * This structure must agree with FPsave and FPrestore asm routines + */ +typedef struct FPU FPU; +struct FPU +{ + uchar env[28]; +}; + +typedef sigjmp_buf osjmpbuf; +#define ossetjmp(buf) sigsetjmp(buf, 1) + |
