From d7b19496d84ff3d0b03eac8f31bdf59287c70065 Mon Sep 17 00:00:00 2001 From: forsyth Date: Fri, 25 Feb 2011 11:01:58 +0000 Subject: 20110225-1101 --- DragonFly/386/include/lib9.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'DragonFly') diff --git a/DragonFly/386/include/lib9.h b/DragonFly/386/include/lib9.h index 596b8957..284f3c24 100644 --- a/DragonFly/386/include/lib9.h +++ b/DragonFly/386/include/lib9.h @@ -460,33 +460,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 -- cgit v1.2.3