From e55a802690f8a3c17455898ae9703b2986aaf9d8 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Tue, 23 Oct 1990 00:08:16 +0000
Subject: [PATCH] Initial revision

---
 ldb/signal.h | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 ldb/signal.h

diff --git a/ldb/signal.h b/ldb/signal.h
new file mode 100644
index 000000000..98baab89b
--- /dev/null
+++ b/ldb/signal.h
@@ -0,0 +1,30 @@
+#ifndef _SIGNAL_H_
+#define _SIGNAL_H_
+
+#include </usr/include/signal.h>
+
+#ifdef sparc
+
+/* We need to fake the existance of a reasonable sigcontext */
+struct lisp_sigcontext {
+    /* This part is identical to the real sigcontext. */
+    int     sc_onstack;		/* sigstack state to restore */
+    int     sc_mask;		/* signal mask to restore */
+    int     sc_sp;                  /* sp to restore */
+    int     sc_pc;                  /* pc to retore */
+    int     sc_npc;                 /* next pc to restore */
+    int     sc_psr;                 /* psr to restore */
+    int     sc_g1;                  /* register that must be restored */
+    int     sc_o0;
+
+    /* And this is the part we have added. */
+    unsigned int sc_regs[32];
+    unsigned int sc_fpregs[32];
+};
+
+#define sigcontext lisp_sigcontext
+
+#endif sparc
+
+
+#endif _SIGNAL_H_
-- 
GitLab