summaryrefslogtreecommitdiff
path: root/NetBSD
diff options
context:
space:
mode:
Diffstat (limited to 'NetBSD')
-rw-r--r--NetBSD/386/include/lib9.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/NetBSD/386/include/lib9.h b/NetBSD/386/include/lib9.h
index d50258bf..cc7e03ef 100644
--- a/NetBSD/386/include/lib9.h
+++ b/NetBSD/386/include/lib9.h
@@ -464,33 +464,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