From 37da2899f40661e3e9631e497da8dc59b971cbd0 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 17:07:39 +0000 Subject: 20060303a --- Plan9/sparc/include/os.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Plan9/sparc/include/os.h (limited to 'Plan9/sparc/include/os.h') diff --git a/Plan9/sparc/include/os.h b/Plan9/sparc/include/os.h new file mode 100644 index 00000000..814362b3 --- /dev/null +++ b/Plan9/sparc/include/os.h @@ -0,0 +1,17 @@ +/* + * Solaris 2.5/sparc + */ + +/* + * This structure must agree with FPsave and FPrestore asm routines + */ +typedef struct FPU FPU; +struct FPU +{ + ulong fsr; +}; + +extern Proc *getup(); +#define up (getup()) + +#define BIGEND -- cgit v1.2.3