summaryrefslogtreecommitdiff
path: root/Plan9/sparc/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'Plan9/sparc/include/os.h')
-rw-r--r--Plan9/sparc/include/os.h17
1 files changed, 17 insertions, 0 deletions
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