diff options
Diffstat (limited to 'OpenBSD/386/include/lib9.h')
| -rw-r--r-- | OpenBSD/386/include/lib9.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/OpenBSD/386/include/lib9.h b/OpenBSD/386/include/lib9.h index a32d2769..5008a148 100644 --- a/OpenBSD/386/include/lib9.h +++ b/OpenBSD/386/include/lib9.h @@ -461,33 +461,3 @@ extern char *argv0; #define setbinmode() -/* - * Extensions for emu kernel emulation - */ -#ifdef EMU - -/* - * This structure must agree with FPsave and FPrestore asm routines - */ -typedef struct FPU FPU; -struct FPU -{ - uchar env[28]; -}; - -#define KSTACK (32 * 1024) - -static __inline Proc *getup(void) { - Proc *p; - __asm__( "movl %%esp, %%eax\n\t" - : "=a" (p) - ); - return *(Proc **)((unsigned long)p & ~(KSTACK - 1)); -}; - -#define up (getup()) - -typedef sigjmp_buf osjmpbuf; -#define ossetjmp(buf) sigsetjmp(buf, 1) - -#endif |
