summaryrefslogtreecommitdiff
path: root/Plan9/sparc/include/os.h
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-03-25 16:00:56 +0000
committerCharles.Forsyth <devnull@localhost>2009-03-25 16:00:56 +0000
commitec9d9a92e45882fc1aec9e79f5a2bcf0b303fa87 (patch)
tree6083f6f9b836b7037118b46e6cd5df9142afdc9b /Plan9/sparc/include/os.h
parent3374b8a099ace1ac6a583a5c7c080b0942ba6e50 (diff)
x20090325-1600
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