From ec9d9a92e45882fc1aec9e79f5a2bcf0b303fa87 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Wed, 25 Mar 2009 16:00:56 +0000 Subject: x20090325-1600 --- 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