summaryrefslogtreecommitdiff
path: root/Hp/s800/include/emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'Hp/s800/include/emu.h')
-rw-r--r--Hp/s800/include/emu.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Hp/s800/include/emu.h b/Hp/s800/include/emu.h
new file mode 100644
index 00000000..6bdc5056
--- /dev/null
+++ b/Hp/s800/include/emu.h
@@ -0,0 +1,21 @@
+/*
+ * system- and machine-specific declarations for emu:
+ * floating-point save and restore, signal handling primitive, and
+ * implementation of the current-process variable `up'.
+ */
+
+extern Proc* getup();
+#define up (getup())
+
+/*
+ * This structure must agree with FPsave and FPrestore asm routines
+ */
+typedef struct FPU FPU;
+struct FPU
+{
+ fp_control fsr;
+};
+
+typedef sigjmp_buf osjmpbuf;
+#define ossetjmp(buf) sigsetjmp(buf, 1)
+