summaryrefslogtreecommitdiff
path: root/MacOSX
diff options
context:
space:
mode:
Diffstat (limited to 'MacOSX')
-rw-r--r--MacOSX/386/include/lib9.h34
-rw-r--r--MacOSX/power/include/lib9.h22
2 files changed, 0 insertions, 56 deletions
diff --git a/MacOSX/386/include/lib9.h b/MacOSX/386/include/lib9.h
index 9b67537b..ce2321cf 100644
--- a/MacOSX/386/include/lib9.h
+++ b/MacOSX/386/include/lib9.h
@@ -475,37 +475,3 @@ extern char *argv0;
#define setbinmode()
-/*
- * Extensions for emu kernel emulation
- */
-#ifdef EMU
-
-extern Proc *getup(void);
-#define up (getup())
-
-/*
- * This structure must agree with FPsave and FPrestore asm routines
- */
-
-// something is at odds between i386/fpu.h and some of the thread headers
-#define fp_control inffp_control
-#define fp_control_t inffp_control_t
-#define fp_status inffp_status
-#define fp_status_t inffp_status_t
-
-#include <architecture/i386/fpu.h>
-
-typedef struct FPU FPU;
-struct FPU
-{
- fp_state_t env;
-};
-
-#undef fp_control
-#undef fp_control_t
-#undef fp_status
-#undef fp_status_t
-
-typedef sigjmp_buf osjmpbuf;
-#define ossetjmp(buf) sigsetjmp(buf, 1)
-#endif
diff --git a/MacOSX/power/include/lib9.h b/MacOSX/power/include/lib9.h
index 96c4b960..fa172673 100644
--- a/MacOSX/power/include/lib9.h
+++ b/MacOSX/power/include/lib9.h
@@ -475,25 +475,3 @@ extern char *argv0;
#define setbinmode()
-/*
- * Extensions for emu kernel emulation
- */
-#ifdef EMU
-
-extern Proc *getup(void);
-#define up (getup())
-
-/*
- * This structure must agree with FPsave and FPrestore asm routines
- */
-
-#include <architecture/ppc/fp_regs.h>
-
-typedef union {
- double __dbl;
- ppc_fp_scr_t __src;
-} FPU;
-
-typedef sigjmp_buf osjmpbuf;
-#define ossetjmp(buf) sigsetjmp(buf, 1)
-#endif