diff options
Diffstat (limited to 'Plan9')
| -rw-r--r-- | Plan9/386/include/lib9.h | 22 | ||||
| -rw-r--r-- | Plan9/arm/include/lib9.h | 22 | ||||
| -rw-r--r-- | Plan9/mips/include/lib9.h | 23 | ||||
| -rw-r--r-- | Plan9/power/include/lib9.h | 30 | ||||
| -rw-r--r-- | Plan9/sparc/include/lib9.h | 22 |
5 files changed, 0 insertions, 119 deletions
diff --git a/Plan9/386/include/lib9.h b/Plan9/386/include/lib9.h index ba62ee32..33721e45 100644 --- a/Plan9/386/include/lib9.h +++ b/Plan9/386/include/lib9.h @@ -656,25 +656,3 @@ extern char *argv0; #define setbinmode() #define __LITTLE_ENDIAN -/* - * Extensions for emu kernel emulation - */ -#ifdef EMU - -extern Proc** Xup; -#define up (*Xup) - -typedef struct FPU FPU; - -/* - * This structure must agree with FPsave and FPrestore asm routines - */ -struct FPU -{ - uchar env[28]; -}; - -typedef jmp_buf osjmpbuf; -#define ossetjmp(buf) setjmp(buf) - -#endif diff --git a/Plan9/arm/include/lib9.h b/Plan9/arm/include/lib9.h index 702b1b87..33721e45 100644 --- a/Plan9/arm/include/lib9.h +++ b/Plan9/arm/include/lib9.h @@ -656,25 +656,3 @@ extern char *argv0; #define setbinmode() #define __LITTLE_ENDIAN -/* - * Extensions for emu kernel emulation - */ -#ifdef EMU - -extern Proc** Xup; -#define up (*Xup) - -typedef struct FPU FPU; - -/* - * This structure must agree with FPsave and FPrestore asm routines - */ -struct FPU -{ - int dummy[1]; /* XXX what goes here? */ -}; - -typedef jmp_buf osjmpbuf; -#define ossetjmp(buf) setjmp(buf) - -#endif diff --git a/Plan9/mips/include/lib9.h b/Plan9/mips/include/lib9.h index fbe61060..333b29f9 100644 --- a/Plan9/mips/include/lib9.h +++ b/Plan9/mips/include/lib9.h @@ -655,26 +655,3 @@ extern char *argv0; #define setbinmode() #undef __LITTLE_ENDIAN -/* - * Extensions for emu kernel emulation - */ -#ifdef EMU - -extern Proc** Xup; -#define up (*Xup) - -typedef struct FPU FPU; - - -/* - * This structure must agree with FPsave and FPrestore asm routines - */ -struct FPU -{ - uchar env[28]; -}; - -typedef jmp_buf osjmpbuf; -#define ossetjmp(buf) setjmp(buf) - -#endif diff --git a/Plan9/power/include/lib9.h b/Plan9/power/include/lib9.h index 4a616833..333b29f9 100644 --- a/Plan9/power/include/lib9.h +++ b/Plan9/power/include/lib9.h @@ -655,33 +655,3 @@ extern char *argv0; #define setbinmode() #undef __LITTLE_ENDIAN -/* - * Extensions for emu kernel emulation - */ -#ifdef EMU - -extern Proc** Xup; -#define up (*Xup) - -typedef struct FPU FPU; - -/* - * This structure must agree with FPsave and FPrestore asm routines - */ -typedef struct FPU FPU; -struct FPU -{ - double fpreg[32]; - union { - double fpscrd; - struct { - ulong pad; - ulong fpscr; - }; - }; -}; - -typedef jmp_buf osjmpbuf; -#define ossetjmp(buf) setjmp(buf) - -#endif diff --git a/Plan9/sparc/include/lib9.h b/Plan9/sparc/include/lib9.h index f04566aa..333b29f9 100644 --- a/Plan9/sparc/include/lib9.h +++ b/Plan9/sparc/include/lib9.h @@ -655,25 +655,3 @@ extern char *argv0; #define setbinmode() #undef __LITTLE_ENDIAN -/* - * Extensions for emu kernel emulation - */ -#ifdef EMU - -extern Proc** Xup; -#define up (*Xup) - -typedef struct FPU FPU; - -/* - * This structure must agree with FPsave and FPrestore asm routines - */ -struct FPU -{ - ulong fsr; -}; - -typedef jmp_buf osjmpbuf; -#define ossetjmp(buf) setjmp(buf) - -#endif |
